summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 89793a5794..ed7409157a 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -2239,7 +2239,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
*data_size = sizeof(AVFrame);
}
- return 0;
+ return buf_size;
}
if(s2->flags&CODEC_FLAG_TRUNCATED){