mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
zero private bits
Originally committed as revision 6961 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
eea784dab0
commit
f1a06ca80b
@ -238,8 +238,10 @@ static int mp3_header_decompress(AVBitStreamFilterContext *bsfc, AVCodecContext
|
|||||||
if(lsf){
|
if(lsf){
|
||||||
FFSWAP(int, p[1], p[2]);
|
FFSWAP(int, p[1], p[2]);
|
||||||
header |= (p[1] & 0xC0)>>2;
|
header |= (p[1] & 0xC0)>>2;
|
||||||
|
p[1] &= 0x3F;
|
||||||
}else{
|
}else{
|
||||||
header |= p[1] & 0x30;
|
header |= p[1] & 0x30;
|
||||||
|
p[1] &= 0xCF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user