[FFmpeg-cvslog] swscale_unscaled: remove unused variables

Michael Niedermayer git at videolan.org
Wed Oct 24 01:57:22 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Oct 24 01:09:14 2012 +0200| [6c87b2be7257615126f82e372e66ee5d633e9978] | committer: Michael Niedermayer

swscale_unscaled: remove unused variables

Fixes CID739472
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6c87b2be7257615126f82e372e66ee5d633e9978
---

 libswscale/swscale_unscaled.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c
index 76c9142..e27eaa1 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -531,8 +531,6 @@ static rgbConvFn findRgbConvFn(SwsContext *c)
     const int srcId = c->srcFormatBpp;
     const int dstId = c->dstFormatBpp;
     rgbConvFn conv = NULL;
-    const AVPixFmtDescriptor *desc_src = av_pix_fmt_desc_get(srcFormat);
-    const AVPixFmtDescriptor *desc_dst = av_pix_fmt_desc_get(dstFormat);
 
 #define IS_NOT_NE(bpp, desc) \
     (((bpp + 7) >> 3) == 2 && \



More information about the ffmpeg-cvslog mailing list