diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-01-23 15:19:34 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-01-23 15:19:34 +0000 |
commit | ab8075a2dac453e4bb720184ad9841d24f7055a4 (patch) | |
tree | 3cae5f52a4ef308b3c2baed890cd84022404f474 /libavcodec | |
parent | 6b3661b22d95edda29af2b969244b20344bda6e2 (diff) | |
download | ffmpeg-ab8075a2dac453e4bb720184ad9841d24f7055a4.tar.gz |
Remove redundant initialization of the palette, it is part of the context
and that one is always 0-initialized already.
Originally committed as revision 21398 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/vb.c b/libavcodec/vb.c index f4f2ee1bfc..155ccebbc4 100644 --- a/libavcodec/vb.c +++ b/libavcodec/vb.c @@ -272,8 +272,6 @@ static av_cold int decode_init(AVCodecContext *avctx) 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; } |