1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

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

This commit is contained in:
Baptiste Coudurier
2011-06-07 11:09:58 -07:00
parent 47d2ca3205
commit be20528ced

View File

@@ -44,7 +44,7 @@ static int adts_aac_probe(AVProbeData *p)
uint32_t header = AV_RB16(buf2); uint32_t header = AV_RB16(buf2);
if((header&0xFFF6) != 0xFFF0) if((header&0xFFF6) != 0xFFF0)
break; break;
fsize = (AV_RB32(buf2+3)>>13) & 0x8FFF; fsize = (AV_RB32(buf2+3)>>13) & 0x1FFF;
if(fsize < 7) if(fsize < 7)
break; break;
buf2 += fsize; buf2 += fsize;