diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-05-21 14:37:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-05-21 14:37:16 +0000 |
commit | 53db1cae1c2d555d207563e0197809faf23b3dcc (patch) | |
tree | 1d4141bca722343f1a1d3fb004f52a5269865787 /libavcodec/mjpeg.c | |
parent | 5da42be1921604a97e6180f242c78c484a179314 (diff) | |
download | ffmpeg-53db1cae1c2d555d207563e0197809faf23b3dcc.tar.gz |
data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
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; |