diff xl.c @ 2453:f67b63ed036d libavcodec

avoid buf_size == 0 checks in every decoder
author michael
date Sun, 23 Jan 2005 18:09:06 +0000
parents 1180a04d64c5
children ef2149182f1c
line wrap: on
line diff
--- a/xl.c	Sun Jan 23 17:59:01 2005 +0000
+++ b/xl.c	Sun Jan 23 18:09:06 2005 +0000
@@ -48,12 +48,6 @@
     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);