You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user