diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-11-10 11:45:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-11-10 11:45:43 +0000 |
commit | f1a06ca80b8c55829d57adf3e4e4ec5469b924bc (patch) | |
tree | 578a011f4f346d40161d438ea5392996bf564710 | |
parent | eea784dab00d9f123c508d3e0c6b16e4f3123bb0 (diff) | |
download | ffmpeg-streaming-f1a06ca80b8c55829d57adf3e4e4ec5469b924bc.zip ffmpeg-streaming-f1a06ca80b8c55829d57adf3e4e4ec5469b924bc.tar.gz |
zero private bits
Originally committed as revision 6961 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/bitstream_filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/bitstream_filter.c b/libavcodec/bitstream_filter.c index e4be773..b52acf6 100644 --- a/libavcodec/bitstream_filter.c +++ b/libavcodec/bitstream_filter.c @@ -238,8 +238,10 @@ static int mp3_header_decompress(AVBitStreamFilterContext *bsfc, AVCodecContext if(lsf){ FFSWAP(int, p[1], p[2]); header |= (p[1] & 0xC0)>>2; + p[1] &= 0x3F; }else{ header |= p[1] & 0x30; + p[1] &= 0xCF; } } |