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/rpza.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavcodec/rpza.c') diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c index 2be26346a2..317c240b9b 100644 --- a/libavcodec/rpza.c +++ b/libavcodec/rpza.c @@ -248,10 +248,6 @@ static int rpza_decode_frame(AVCodecContext *avctx, { RpzaContext *s = (RpzaContext *)avctx->priv_data; - /* no supplementary picture */ - if (buf_size == 0) - return 0; - s->buf = buf; s->size = buf_size; -- cgit v1.2.3