diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index b6ffac8da4..f5fbe54c82 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -5343,7 +5343,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data, *data_size = sizeof(AVFrame); } - return 0; + return buf_size; } if (s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) {