Mercurial > libavcodec.hg
diff 8bps.c @ 2453:f67b63ed036d libavcodec
avoid buf_size == 0 checks in every decoder
author | michael |
---|---|
date | Sun, 23 Jan 2005 18:09:06 +0000 |
parents | d67740c88f86 |
children | 1bf080e490db |
line wrap: on
line diff
--- a/8bps.c Sun Jan 23 17:59:01 2005 +0000 +++ b/8bps.c Sun Jan 23 18:09:06 2005 +0000 @@ -70,11 +70,6 @@ unsigned int planes = c->planes; unsigned char *planemap = c->planemap; - - /* no supplementary picture */ - if (buf_size == 0) - return 0; - if(c->pic.data[0]) avctx->release_buffer(avctx, &c->pic);