aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-06-07 11:09:58 -0700
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-06-08 13:12:18 -0700
commitbe20528ced76a43aafed032742b3ddd1897bf55e (patch)
treee27ce4fadaa8bc954c7aa6c714b9c609cb9d5790
parent47d2ca3205b53665328fe301879c339449db7a1d (diff)
downloadffmpeg-be20528ced76a43aafed032742b3ddd1897bf55e.tar.gz
aac: fix adts frame size mask, fix demuxer probing for some files.
-rw-r--r--libavformat/aacdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c
index 47e9bf3a18..a224c96fba 100644
--- a/libavformat/aacdec.c
+++ b/libavformat/aacdec.c
@@ -44,7 +44,7 @@ static int adts_aac_probe(AVProbeData *p)
uint32_t header = AV_RB16(buf2);
if((header&0xFFF6) != 0xFFF0)
break;
- fsize = (AV_RB32(buf2+3)>>13) & 0x8FFF;
+ fsize = (AV_RB32(buf2+3)>>13) & 0x1FFF;
if(fsize < 7)
break;
buf2 += fsize;