summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/mdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavcodec/mdec.c')
-rw-r--r--src/libffmpeg/libavcodec/mdec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libffmpeg/libavcodec/mdec.c b/src/libffmpeg/libavcodec/mdec.c
index 219a39b25..ef4e6ec0a 100644
--- a/src/libffmpeg/libavcodec/mdec.c
+++ b/src/libffmpeg/libavcodec/mdec.c
@@ -163,8 +163,6 @@ static int decode_frame(AVCodecContext *avctx,
AVFrame * const p= (AVFrame*)&a->picture;
int i;
- *data_size = 0;
-
/* special case for last picture */
if (buf_size == 0) {
return 0;