diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-01-23 18:09:06 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-01-23 18:09:06 +0000 |
commit | 934982c4ace1a3d5d627b518782ed092a456c49e (patch) | |
tree | 2710f7ff4b0238136300d02da7baf234ed48cc01 /libavcodec/indeo3.c | |
parent | 884182b383ed8b70a67634dc7f91395c402b58d7 (diff) | |
download | ffmpeg-934982c4ace1a3d5d627b518782ed092a456c49e.tar.gz |
avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/indeo3.c')
-rw-r--r-- | libavcodec/indeo3.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index 24e2160e5a..099522f33c 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -1066,11 +1066,6 @@ static int indeo3_decode_frame(AVCodecContext *avctx, unsigned char *src, *dest; int y; - /* no supplementary picture */ - if (buf_size == 0) { - return 0; - } - iv_decode_frame(s, buf, buf_size); if(s->frame.data[0]) |