avcodec/qtrle: don't clear the palette when flushing

It may be propagated only once for the entire stream.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2019-08-27 15:24:01 -03:00
parent d70bbdc5fa
commit b319feb05f

View File

@ -576,7 +576,6 @@ static void qtrle_decode_flush(AVCodecContext *avctx)
{
QtrleContext *s = avctx->priv_data;
memset(s->pal, 0, sizeof(s->pal));
av_frame_unref(s->frame);
}