diff h261.c @ 2453:f67b63ed036d libavcodec

avoid buf_size == 0 checks in every decoder
author michael
date Sun, 23 Jan 2005 18:09:06 +0000
parents a6e4da1c28ee
children 511e3afc43e1
line wrap: on
line diff
--- a/h261.c	Sun Jan 23 17:59:01 2005 +0000
+++ b/h261.c	Sun Jan 23 18:09:06 2005 +0000
@@ -925,11 +925,6 @@
     s->flags= avctx->flags;
     s->flags2= avctx->flags2;
 
-    /* no supplementary picture */
-    if (buf_size == 0) {
-        return 0;
-    }
-    
     h->gob_start_code_skipped=0;
 
 retry: