Browse Source

aac: fix adts frame size mask, fix demuxer probing for some files.

tags/n0.8
Baptiste Coudurier 14 years ago
parent
commit
be20528ced
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/aacdec.c

+ 1
- 1
libavformat/aacdec.c View File

@@ -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;


Loading…
Cancel
Save