C2SoftGav1Dec: remove non-eos flush

eos is later checked and signalled in drainInternal. signalling eos on a
zero sized frame will cause subsequent frame decodes to fail until the
next keyframe.

fixes:
Codec2VideoDecHidlTest#DecodeTestEmptyBuffersInserted/software_c2_android_av1_decoder_0
after ag/12144538 (Idc713f4b10776cfb6b7fa2d75b2162c3b85d3313)

Bug: 162267932
Test: vts-tradefed run commandAndExit vts --include-filter VtsHalMediaC2V1_0TargetVideoDecTest
Change-Id: Ied4cd9b6ad56f3630d9779ea32d0032a5bda1a29
(cherry picked from commit d7c6d7534f1d7ddbea19449b1c3e2d38aefbbdb2)
diff --git a/media/codec2/components/gav1/C2SoftGav1Dec.cpp b/media/codec2/components/gav1/C2SoftGav1Dec.cpp
index cf7c370..120ba7a 100644
--- a/media/codec2/components/gav1/C2SoftGav1Dec.cpp
+++ b/media/codec2/components/gav1/C2SoftGav1Dec.cpp
@@ -446,15 +446,6 @@
       return;
     }
 
-  } else {
-    const Libgav1StatusCode status = mCodecCtx->SignalEOS();
-    if (status != kLibgav1StatusOk) {
-      ALOGE("Failed to flush av1 decoder. status: %d.", status);
-      work->result = C2_CORRUPTED;
-      work->workletsProcessed = 1u;
-      mSignalledError = true;
-      return;
-    }
   }
 
   (void)outputBuffer(pool, work);