Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer authored on 2011/11/18 03:38:47... | ... |
@@ -40,6 +40,8 @@ static int ac3_eac3_probe(AVProbeData *p, enum CodecID expected_codec_id) |
40 | 40 |
buf2 = buf; |
41 | 41 |
|
42 | 42 |
for(frames = 0; buf2 < end; frames++) { |
43 |
+ if(!memcmp(buf2, "\x1\x10\0\0\0\0\0\0", 8)) |
|
44 |
+ buf2+=16; |
|
43 | 45 |
init_get_bits(&gbc, buf2, 54); |
44 | 46 |
if(avpriv_ac3_parse_header(&gbc, &hdr) < 0) |
45 | 47 |
break; |