redundant assignment found by Clang
authorBenjamin Larsson <banan@ludd.ltu.se>
Mon, 7 Jul 2008 08:29:08 +0000 (08:29 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Mon, 7 Jul 2008 08:29:08 +0000 (08:29 +0000)
Originally committed as revision 14096 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/nellymoser.c

index 6e16f6f..75ae5d7 100644 (file)
@@ -147,7 +147,6 @@ void ff_nelly_get_sample_bits(const float *buf, int *bits)
     bitsum = sum_bits(sbuf, shift_saved, small_off);
 
     if (bitsum != NELLY_DETAIL_BITS) {
-        shift = 0;
         off = bitsum - NELLY_DETAIL_BITS;
 
         for(shift=0; FFABS(off) <= 16383; shift++)