mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)
Originally committed as revision 10060 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e020dbd2a1
commit
d1a4544de9
@ -409,9 +409,6 @@ static int ac3_probe(AVProbeData *p)
|
||||
uint8_t *buf, *buf2, *end;
|
||||
AC3HeaderInfo hdr;
|
||||
|
||||
if(p->buf_size < 7)
|
||||
return 0;
|
||||
|
||||
max_frames = 0;
|
||||
buf = p->buf;
|
||||
end = buf + p->buf_size;
|
||||
|
Loading…
Reference in New Issue
Block a user