diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-01-23 21:09:06 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-01-23 21:09:06 +0300 |
commit | 934982c4ace1a3d5d627b518782ed092a456c49e (patch) | |
tree | 2710f7ff4b0238136300d02da7baf234ed48cc01 /libavcodec/8bps.c | |
parent | 884182b383ed8b70a67634dc7f91395c402b58d7 (diff) |
avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/8bps.c')
-rw-r--r-- | libavcodec/8bps.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/8bps.c b/libavcodec/8bps.c index 48773a1744..3898ac5dd3 100644 --- a/libavcodec/8bps.c +++ b/libavcodec/8bps.c @@ -70,11 +70,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8 unsigned int planes = c->planes; unsigned char *planemap = c->planemap; - - /* no supplementary picture */ - if (buf_size == 0) - return 0; - if(c->pic.data[0]) avctx->release_buffer(avctx, &c->pic); |