Commit cc7eff1f authored by Nicolas George's avatar Nicolas George

vc1dec: count ENDOFSEQ code in return value.

parent 89898cd3
...@@ -5343,7 +5343,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data, ...@@ -5343,7 +5343,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
*data_size = sizeof(AVFrame); *data_size = sizeof(AVFrame);
} }
return 0; return buf_size;
} }
if (s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) { if (s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment