[FFmpeg-cvslog] avcodec/qtrle: don't clear the palette when flushing
James Almer
git at videolan.org
Tue Aug 27 21:31:21 EEST 2019
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | 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 <jamrial at gmail.com>
> 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);
}
More information about the ffmpeg-cvslog
mailing list