[FFmpeg-devel] [PATCH 2/3] Remove unused variable, avoiding compiler warning.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun May 29 15:26:08 CEST 2011


---
 libswscale/ppc/swscale_template.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libswscale/ppc/swscale_template.c b/libswscale/ppc/swscale_template.c
index 20a81e5..27351ad 100644
--- a/libswscale/ppc/swscale_template.c
+++ b/libswscale/ppc/swscale_template.c
@@ -66,8 +66,6 @@ static inline void RENAME(yuv2packedX)(SwsContext *c, const int16_t *lumFilter,
 
 static void RENAME(sws_init_swScale)(SwsContext *c)
 {
-    enum PixelFormat srcFormat = c->srcFormat;
-
     c->yuv2yuvX     = RENAME(yuv2yuvX    );
     c->yuv2packedX  = RENAME(yuv2packedX );
 }
-- 
1.7.5.3



More information about the ffmpeg-devel mailing list