diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-11 20:59:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-08 13:15:42 +0200 |
commit | 9801c9524a93d47f25e41e22cefce7ba0fe4e4ca (patch) | |
tree | 83d52bc13adf33d637a356daa3a27027488dce46 | |
parent | 08fc0d771a59181d236566e31a9d92b8bd7e3c6e (diff) | |
download | ffmpeg-9801c9524a93d47f25e41e22cefce7ba0fe4e4ca.tar.gz |
swscale/swscale: Fix "unused variable" warning
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 0ae40c5a70490f102f7b1c62018746d3b424fa07)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-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 e9e4f622f5..45a6b7c98d 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -359,6 +359,7 @@ static int swscale(SwsContext *c, const uint8_t *src[], #ifndef NEW_FILTER uint8_t *formatConvBuffer = c->formatConvBuffer; uint32_t *pal = c->pal_yuv; + int perform_gamma = c->is_internal_gamma; #endif yuv2planar1_fn yuv2plane1 = c->yuv2plane1; yuv2planarX_fn yuv2planeX = c->yuv2planeX; @@ -379,7 +380,6 @@ 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->is_internal_gamma; #ifdef NEW_FILTER int lumStart = 0; |