You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
swscale/swscale: Fix "unused variable" warning
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -359,6 +359,7 @@ static int swscale(SwsContext *c, const uint8_t *src[],
|
|||||||
#ifndef NEW_FILTER
|
#ifndef NEW_FILTER
|
||||||
uint8_t *formatConvBuffer = c->formatConvBuffer;
|
uint8_t *formatConvBuffer = c->formatConvBuffer;
|
||||||
uint32_t *pal = c->pal_yuv;
|
uint32_t *pal = c->pal_yuv;
|
||||||
|
int perform_gamma = c->is_internal_gamma;
|
||||||
#endif
|
#endif
|
||||||
yuv2planar1_fn yuv2plane1 = c->yuv2plane1;
|
yuv2planar1_fn yuv2plane1 = c->yuv2plane1;
|
||||||
yuv2planarX_fn yuv2planeX = c->yuv2planeX;
|
yuv2planarX_fn yuv2planeX = c->yuv2planeX;
|
||||||
@@ -379,7 +380,6 @@ static int swscale(SwsContext *c, const uint8_t *src[],
|
|||||||
int chrBufIndex = c->chrBufIndex;
|
int chrBufIndex = c->chrBufIndex;
|
||||||
int lastInLumBuf = c->lastInLumBuf;
|
int lastInLumBuf = c->lastInLumBuf;
|
||||||
int lastInChrBuf = c->lastInChrBuf;
|
int lastInChrBuf = c->lastInChrBuf;
|
||||||
int perform_gamma = c->is_internal_gamma;
|
|
||||||
|
|
||||||
#ifdef NEW_FILTER
|
#ifdef NEW_FILTER
|
||||||
int lumStart = 0;
|
int lumStart = 0;
|
||||||
|
Reference in New Issue
Block a user