aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-08-27 15:24:01 -0300
committerJames Almer <jamrial@gmail.com>2019-08-27 15:24:47 -0300
commitb319feb05f40d23ec17c8346c819becc4c13210f (patch)
tree57c66184d75dafbcdd9a814251b5f1a0df7dae2e
parentd70bbdc5fa05e1c0ce381eacc6e987b5e0701d1c (diff)
downloadffmpeg-b319feb05f40d23ec17c8346c819becc4c13210f.tar.gz
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>
-rw-r--r--libavcodec/qtrle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c
index 2793eb91f6..f565e0e358 100644
--- a/libavcodec/qtrle.c
+++ b/libavcodec/qtrle.c
@@ -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);
}