diff options
Diffstat (limited to 'libavcodec/mjpeg.c')
-rw-r--r-- | libavcodec/mjpeg.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index 78a620fd3c..4e2305aef6 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -1724,8 +1724,6 @@ static int mjpeg_decode_frame(AVCodecContext *avctx, int start_code; AVFrame *picture = data; - *data_size = 0; - /* no supplementary picture */ if (buf_size == 0) return 0; @@ -1902,8 +1900,6 @@ static int mjpegb_decode_frame(AVCodecContext *avctx, uint32_t dqt_offs, dht_offs, sof_offs, sos_offs, second_field_offs; uint32_t field_size; - *data_size = 0; - /* no supplementary picture */ if (buf_size == 0) return 0; @@ -2015,8 +2011,6 @@ static int sp5x_decode_frame(AVCodecContext *avctx, uint8_t *buf_ptr, *buf_end, *recoded; int i = 0, j = 0; - *data_size = 0; - /* no supplementary picture */ if (buf_size == 0) return 0; |