mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 22:40:23 +00:00
Zero palette in case not all entries are initialized later
Originally committed as revision 21384 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6481075443
commit
2727649677
@ -254,6 +254,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
c->frame = av_malloc( avctx->width * avctx->height);
|
||||
c->prev_frame = av_malloc( avctx->width * avctx->height);
|
||||
|
||||
memset(c->pal, 0, sizeof(c->pal));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user