Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libswscale/swscale.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index cbf1074109..4762f584dc 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -731,6 +731,8 @@ static av_cold void sws_init_swscale(SwsContext *c)
: hScale16To15_c;
}
+ c->lumConvertRange = NULL;
+ c->chrConvertRange = NULL;
if (c->srcRange != c->dstRange && !isAnyRGB(c->dstFormat)) {
if (c->dstBpc <= 14) {
if (c->srcRange) {