mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
swscale/swscale: clear to/from convert pointers when they used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b465aaa59f
commit
3751e5a821
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user