Browse code

zero private bits

Originally committed as revision 6961 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer authored on 2006/11/10 20:45:43
Showing 1 changed files
... ...
@@ -238,8 +238,10 @@ static int mp3_header_decompress(AVBitStreamFilterContext *bsfc, AVCodecContext
238 238
         if(lsf){
239 239
             FFSWAP(int, p[1], p[2]);
240 240
             header |= (p[1] & 0xC0)>>2;
241
+            p[1] &= 0x3F;
241 242
         }else{
242 243
             header |= p[1] & 0x30;
244
+            p[1] &= 0xCF;
243 245
         }
244 246
     }
245 247