diff cljr.c @ 2453:f67b63ed036d libavcodec

avoid buf_size == 0 checks in every decoder
author michael
date Sun, 23 Jan 2005 18:09:06 +0000
parents 141a9539e270
children e25782262d7d
line wrap: on
line diff
--- a/cljr.c	Sun Jan 23 17:59:01 2005 +0000
+++ b/cljr.c	Sun Jan 23 18:09:06 2005 +0000
@@ -43,11 +43,6 @@
     AVFrame * const p= (AVFrame*)&a->picture;
     int x, y;
 
-    /* special case for last picture */
-    if (buf_size == 0) {
-        return 0;
-    }
-
     if(p->data[0])
         avctx->release_buffer(avctx, p);