[FFmpeg-cvslog] sws: remove unused variable

Michael Niedermayer git at videolan.org
Sat Dec 3 00:24:36 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec  3 00:04:42 2011 +0100| [a24c4758d56836e1ecf838fddd62e8f25361fbad] | committer: Michael Niedermayer

sws: remove unused variable

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

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

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

diff --git a/libswscale/x86/swscale_template.c b/libswscale/x86/swscale_template.c
index c7de145..bb351c2 100644
--- a/libswscale/x86/swscale_template.c
+++ b/libswscale/x86/swscale_template.c
@@ -1870,7 +1870,6 @@ static av_cold void RENAME(sws_init_swScale)(SwsContext *c)
                     }
                 }
             } else {
-                int should_dither= isNBPS(c->srcFormat) || is16BPS(c->srcFormat);
                 c->use_mmx_vfilter= 1;
                 c->yuv2planeX = RENAME(yuv2yuvX    );
                 if (!(c->flags & SWS_FULL_CHR_H_INT)) {



More information about the ffmpeg-cvslog mailing list