diff lcl.c @ 2453:f67b63ed036d libavcodec

avoid buf_size == 0 checks in every decoder
author michael
date Sun, 23 Jan 2005 18:09:06 +0000
parents 4b350cc506a7
children 9a7770ebed14
line wrap: on
line diff
--- a/lcl.c	Sun Jan 23 17:59:01 2005 +0000
+++ b/lcl.c	Sun Jan 23 18:09:06 2005 +0000
@@ -214,10 +214,6 @@
 #endif
     unsigned int len = buf_size;
 
-	/* no supplementary picture */
-	if (buf_size == 0)
-		return 0;
-
 	if(c->pic.data[0])
 		avctx->release_buffer(avctx, &c->pic);