codec2: correlate flushed work result definition to framework

With regard to CCodecBufferChannel::onWorkDone(), flushed work result
is set to C2_NOT_FOUND.

Note: it is still TODO for CCodecBufferChannel and may be changed in the
future.

Bug: 73261432
Test: adb shell setprop debug.stagefright.ccodec yes
Test: adb shell setprop debug.stagefright.ccodec_v4l2 yes
Test: adb shell killall mediaserver
Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.MediaCodecTest#testDecodeAfterFlush
Change-Id: Ieca1d867a619da0ff151cb564ae6a745e1257b49
diff --git a/C2VDAComponent.cpp b/C2VDAComponent.cpp
index b13cc16..20ebfb6 100644
--- a/C2VDAComponent.cpp
+++ b/C2VDAComponent.cpp
@@ -1339,7 +1339,8 @@
         std::unique_ptr<C2Work> work(std::move(mPendingWorks.front()));
         mPendingWorks.pop_front();
 
-        work->result = static_cast<c2_status_t>(-1);  // What should this value be?
+        // TODO: correlate the definition of flushed work result to framework.
+        work->result = C2_NOT_FOUND;
         // When the work is abandoned, the input buffers vector shall be cleared by component.
         work->input.buffers.clear();
         abandonedWorks.emplace_back(std::move(work));