]> git.sesse.net Git - ffmpeg/commit
avcodec: Factor updating palette out
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 17 Mar 2021 21:43:32 +0000 (22:43 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 22 Mar 2021 01:43:04 +0000 (02:43 +0100)
commit7b100839330ace3b4846ee4a1fc5caf4b8f8a34e
tree5743c922bd05a372bfbe733cf7ee482153d8e55d
parentab5803553b3932da3227647ae27f2e2795cc5752
avcodec: Factor updating palette out

Because the properties of frames returned from ff_get/reget_buffer
are not reset at all, lots of returned frames had palette_has_changed
wrongly set to 1. This has been changed, too.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
17 files changed:
libavcodec/8bps.c
libavcodec/cinepak.c
libavcodec/decode.c
libavcodec/decode.h
libavcodec/gdv.c
libavcodec/idcinvideo.c
libavcodec/imx.c
libavcodec/interplayvideo.c
libavcodec/kmvc.c
libavcodec/msrle.c
libavcodec/msvideo1.c
libavcodec/qpeg.c
libavcodec/qtrle.c
libavcodec/rawdec.c
libavcodec/rscc.c
libavcodec/smc.c
libavcodec/tscc.c