Commit b319feb0 authored by James Almer's avatar James Almer

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

It may be propagated only once for the entire stream.
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent d70bbdc5
...@@ -576,7 +576,6 @@ static void qtrle_decode_flush(AVCodecContext *avctx) ...@@ -576,7 +576,6 @@ static void qtrle_decode_flush(AVCodecContext *avctx)
{ {
QtrleContext *s = avctx->priv_data; QtrleContext *s = avctx->priv_data;
memset(s->pal, 0, sizeof(s->pal));
av_frame_unref(s->frame); av_frame_unref(s->frame);
} }
......
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