vp9: Return the correct size when decoding a superframe
[ffmpeg.git] / libavcodec / vp9.c
index 45f0771..c11e9b8 100644 (file)
@@ -1251,7 +1251,7 @@ static int vp9_decode_packet(AVCodecContext *avctx, void *frame,
                 data += sz;
                 size -= sz;
             }
-            return size;
+            return avpkt->size;
         }
     }