[FFmpeg-soc] [soc]: r4526 - wmapro/wma3dec.c

faust3 subversion at mplayerhq.hu
Wed Jun 24 21:12:28 CEST 2009


Author: faust3
Date: Wed Jun 24 21:12:28 2009
New Revision: 4526

Log:
remove unneeded shift

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Wed Jun 24 21:08:32 2009	(r4525)
+++ wmapro/wma3dec.c	Wed Jun 24 21:12:28 2009	(r4526)
@@ -311,7 +311,7 @@ static av_cold int decode_init(AVCodecCo
     s->max_num_subframes = 1 << log2_num_subframes;
     s->num_possible_block_sizes = log2_num_subframes + 1;
     s->min_samples_per_subframe = s->samples_per_frame / s->max_num_subframes;
-    s->dynamic_range_compression = (s->decode_flags & 0x80) >> 7;
+    s->dynamic_range_compression = (s->decode_flags & 0x80);
 
     if (s->max_num_subframes > MAX_SUBFRAMES) {
         av_log(avctx, AV_LOG_ERROR, "invalid number of subframes %i\n",


More information about the FFmpeg-soc mailing list