X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fac3dec.c;h=2718061bdc5701575a0882c164a8d1e0c76dc538;hb=ba0a56e0b00474eb0e47d503b139816fe28c47e5;hp=6f423ff7eb2d72d1688bae06c13ea788ff5aa8a5;hpb=94d98330ed6c5562341315c26c1af92771a2e6de;p=ffmpeg diff --git a/libavformat/ac3dec.c b/libavformat/ac3dec.c index 6f423ff7eb2..2718061bdc5 100644 --- a/libavformat/ac3dec.c +++ b/libavformat/ac3dec.c @@ -47,7 +47,7 @@ static int ac3_eac3_probe(AVProbeData *p, enum AVCodecID expected_codec_id) uint16_t frame_size; int i, ret; - if(!memcmp(buf2, "\x1\x10\0\0\0\0\0\0", 8)) { + if(!memcmp(buf2, "\x1\x10", 2)) { if (buf2 + 16 > end) break; buf2+=16;