aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-31 11:41:49 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-31 11:41:49 +0000
commit4ad3df9da2f3d247eab186cef4b2793cb355edaf (patch)
tree609cbfd301d68867aeff1b5d9b84b99f7d558b54
parent7ffc84474239d96b2aae6117bbe49ce9481099fc (diff)
downloadffmpeg-4ad3df9da2f3d247eab186cef4b2793cb355edaf.tar.gz
avctx->priv_data is initialized to 0, get rid of useless extra initialization.
Originally committed as revision 19062 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/lcldec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c
index f53d91e715..cb2b5e66fd 100644
--- a/libavcodec/lcldec.c
+++ b/libavcodec/lcldec.c
@@ -443,13 +443,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
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;