[FFmpeg-cvslog] r21398 - trunk/libavcodec/vb.c
reimar
subversion
Sat Jan 23 16:19:34 CET 2010
Author: reimar
Date: Sat Jan 23 16:19:34 2010
New Revision: 21398
Log:
Remove redundant initialization of the palette, it is part of the context
and that one is always 0-initialized already.
Modified:
trunk/libavcodec/vb.c
Modified: trunk/libavcodec/vb.c
==============================================================================
--- trunk/libavcodec/vb.c Sat Jan 23 15:50:56 2010 (r21397)
+++ trunk/libavcodec/vb.c Sat Jan 23 16:19:34 2010 (r21398)
@@ -272,8 +272,6 @@ static av_cold int decode_init(AVCodecCo
c->frame = av_mallocz(avctx->width * avctx->height);
c->prev_frame = av_mallocz(avctx->width * avctx->height);
- memset(c->pal, 0, sizeof(c->pal));
-
return 0;
}
More information about the ffmpeg-cvslog
mailing list