From b57f9f57240a8143b7c64b8f3e94454dc8895b34 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 23 Apr 2015 20:13:58 +0200 Subject: swscale/swscale: Get rid of the SWS_GAMMA_CORRECT flag This avoids using up a bit of the public flags Signed-off-by: Michael Niedermayer --- libswscale/swscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/swscale.c') 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)) { -- cgit v1.2.3