diff options
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 8b244efcae..5312016927 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -369,7 +369,7 @@ static int swscale(SwsContext *c, const uint8_t *src[], int chrBufIndex = c->chrBufIndex; int lastInLumBuf = c->lastInLumBuf; int lastInChrBuf = c->lastInChrBuf; - int perform_gamma = c->flags & SWS_GAMMA_CORRECT; + int perform_gamma = c->is_internal_gamma; if (!usePal(c->srcFormat)) { |