Mercurial > libavcodec.hg
changeset 9778:d40725b7f6e0 libavcodec
avctx->priv_data is initialized to 0, get rid of useless extra initialization.
author | reimar |
---|---|
date | Sun, 31 May 2009 11:41:49 +0000 |
parents | 77fd9731dea5 |
children | 4605c1f6e877 |
files | lcldec.c |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lcldec.c Sun May 31 11:35:20 2009 +0000 +++ b/lcldec.c Sun May 31 11:41:49 2009 +0000 @@ -443,13 +443,6 @@ unsigned int max_basesize = FFALIGN(avctx->width, 4) * FFALIGN(avctx->height, 4) + AV_LZO_OUTPUT_PADDING; unsigned int max_decomp_size; - c->pic.data[0] = NULL; - -#if CONFIG_ZLIB_DECODER - // Needed if zlib unused or init aborted before inflateInit - memset(&c->zstream, 0, sizeof(z_stream)); -#endif - if (avctx->extradata_size < 8) { av_log(avctx, AV_LOG_ERROR, "Extradata size too small.\n"); return 1;