swscale: Remove unused variable from ff_bfin_get_unscaled_swscale().
authorDiego Biurrun <diego@biurrun.de>
Wed, 15 Jun 2011 11:45:24 +0000 (13:45 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 21 Jun 2011 18:53:52 +0000 (20:53 +0200)
libswscale/bfin/swscale_bfin.c

index c8030ba..0c5f004 100644 (file)
@@ -78,8 +78,6 @@ static int yuyvtoyv12_unscaled(SwsContext *c, uint8_t* src[], int srcStride[], i
 
 void ff_bfin_get_unscaled_swscale(SwsContext *c)
 {
 
 void ff_bfin_get_unscaled_swscale(SwsContext *c)
 {
-    SwsFunc swScale = c->swScale;
-
     if (c->dstFormat == PIX_FMT_YUV420P && c->srcFormat == PIX_FMT_UYVY422) {
         av_log (NULL, AV_LOG_VERBOSE, "selecting Blackfin optimized uyvytoyv12_unscaled\n");
         c->swScale = uyvytoyv12_unscaled;
     if (c->dstFormat == PIX_FMT_YUV420P && c->srcFormat == PIX_FMT_UYVY422) {
         av_log (NULL, AV_LOG_VERBOSE, "selecting Blackfin optimized uyvytoyv12_unscaled\n");
         c->swScale = uyvytoyv12_unscaled;