OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d16ccca
)
adts: Adjust frame size mask to follow the specification.
author
Kieran Kunhya
<kierank@ob-encoder.com>
Wed, 8 Jun 2011 06:26:20 +0000
(
01:26
-0500)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 10 Jun 2011 16:41:04 +0000
(18:41 +0200)
This fixes ADTS detection for at least one sample.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavformat/aacdec.c
patch
|
blob
|
history
diff --git
a/libavformat/aacdec.c
b/libavformat/aacdec.c
index
0dc1c5c
..
6a184c7
100644
(file)
--- 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) & 0x8
FFF;
+ fsize = (AV_RB32(buf2
+ 3) >> 13) & 0x1
FFF;
if(fsize < 7)
break;
buf2 += fsize;