diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-14 23:15:31 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-14 23:15:31 +0200 |
commit | 3751e5a8214d05998ecce17f25af98e64abfefff (patch) | |
tree | d750db474b9f1379470e55d5980252517fc2dbfa /libswscale | |
parent | b465aaa59f173b6978c81144c33b0f5fca84264b (diff) | |
download | ffmpeg-3751e5a8214d05998ecce17f25af98e64abfefff.tar.gz |
swscale/swscale: clear to/from convert pointers when they used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 |
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) { |