diff msvideo1.c @ 2453:f67b63ed036d libavcodec

avoid buf_size == 0 checks in every decoder
author michael
date Sun, 23 Jan 2005 18:09:06 +0000
parents 39ad6cd5d4a6
children ef2149182f1c
line wrap: on
line diff
--- a/msvideo1.c	Sun Jan 23 17:59:01 2005 +0000
+++ b/msvideo1.c	Sun Jan 23 18:09:06 2005 +0000
@@ -302,10 +302,6 @@
 {
     Msvideo1Context *s = (Msvideo1Context *)avctx->priv_data;
 
-    /* no supplementary picture */
-    if (buf_size == 0)
-        return 0;
-
     s->buf = buf;
     s->size = buf_size;