ffmpeg | branch: master | James Almer <[email protected]> | Tue Aug 27 15:24:01 
2019 -0300| [b319feb05f40d23ec17c8346c819becc4c13210f] | committer: James Almer

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

It may be propagated only once for the entire stream.

Signed-off-by: James Almer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b319feb05f40d23ec17c8346c819becc4c13210f
---

 libavcodec/qtrle.c | 1 -
 1 file changed, 1 deletion(-)

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);
 }
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to