From 934982c4ace1a3d5d627b518782ed092a456c49e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 23 Jan 2005 18:09:06 +0000 Subject: avoid buf_size == 0 checks in every decoder Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/xl.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libavcodec/xl.c') diff --git a/libavcodec/xl.c b/libavcodec/xl.c index 0f496017d9..2ba48eb278 100644 --- a/libavcodec/xl.c +++ b/libavcodec/xl.c @@ -48,12 +48,6 @@ static int decode_frame(AVCodecContext *avctx, int stride; uint32_t val; int y0, y1, y2, y3, c0, c1; - - - /* special case for last picture */ - if (buf_size == 0) { - return 0; - } if(p->data[0]) avctx->release_buffer(avctx, p); -- cgit v1.2.3