[FFmpeg-cvslog] r19062 - trunk/libavcodec/lcldec.c

reimar subversion
Sun May 31 13:41:49 CEST 2009


Author: reimar
Date: Sun May 31 13:41:49 2009
New Revision: 19062

Log:
avctx->priv_data is initialized to 0, get rid of useless extra initialization.

Modified:
   trunk/libavcodec/lcldec.c

Modified: trunk/libavcodec/lcldec.c
==============================================================================
--- trunk/libavcodec/lcldec.c	Sun May 31 13:35:20 2009	(r19061)
+++ trunk/libavcodec/lcldec.c	Sun May 31 13:41:49 2009	(r19062)
@@ -443,13 +443,6 @@ static av_cold int decode_init(AVCodecCo
     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;



More information about the ffmpeg-cvslog mailing list