mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-23 15:26:57 +00:00
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:
parent
d70bbdc5fa
commit
b319feb05f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user