diff indeo3.c @ 2453:f67b63ed036d libavcodec

avoid buf_size == 0 checks in every decoder
author michael
date Sun, 23 Jan 2005 18:09:06 +0000
parents 18b8b2dcc037
children 5b738c5093ce
line wrap: on
line diff
--- a/indeo3.c	Sun Jan 23 17:59:01 2005 +0000
+++ b/indeo3.c	Sun Jan 23 18:09:06 2005 +0000
@@ -1066,11 +1066,6 @@
     unsigned char *src, *dest;
     int y;
 
-    /* no supplementary picture */
-    if (buf_size == 0) {
-        return 0;
-    }
-
     iv_decode_frame(s, buf, buf_size);
 
     if(s->frame.data[0])