projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eea784d
)
zero private bits
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 10 Nov 2006 11:45:43 +0000
(11:45 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 10 Nov 2006 11:45:43 +0000
(11:45 +0000)
Originally committed as revision 6961 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/bitstream_filter.c
patch
|
blob
|
history
diff --git
a/libavcodec/bitstream_filter.c
b/libavcodec/bitstream_filter.c
index e4be773c6e682dd7a7201ec6a04d40c59b79caa1..b52acf60a2d4a591d31f29f66c0fa4189e7d06c1 100644
(file)
--- 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;
}
}