Commit ab8075a2 authored by Reimar Döffinger's avatar Reimar Döffinger

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
parent 6b3661b2
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment