Codec2: more adjustments for C2Work related changes

Bug: 64121714
Change-Id: Ia0365b0b0087d9304b04a1f0e53edc091873c6e5
diff --git a/C2VDAComponent.cpp b/C2VDAComponent.cpp
index ab7ff13..d7f2a8e 100644
--- a/C2VDAComponent.cpp
+++ b/C2VDAComponent.cpp
@@ -1229,7 +1229,7 @@
 
 void C2VDAComponent::reportFinishedWorkIfAny() {
     DCHECK(mTaskRunner->BelongsToCurrentThread());
-    std::vector<std::unique_ptr<C2Work>> finishedWorks;
+    std::list<std::unique_ptr<C2Work>> finishedWorks;
 
     // Work should be reported as done if both input and output buffer are returned by VDA.
 
@@ -1268,7 +1268,7 @@
 
 void C2VDAComponent::reportAbandonedWorks() {
     DCHECK(mTaskRunner->BelongsToCurrentThread());
-    std::vector<std::unique_ptr<C2Work>> abandonedWorks;
+    std::list<std::unique_ptr<C2Work>> abandonedWorks;
 
     while (!mPendingWorks.empty()) {
         std::unique_ptr<C2Work> work(std::move(mPendingWorks.front()));