mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01: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:
@@ -409,9 +409,6 @@ static int ac3_probe(AVProbeData *p)
|
|||||||
uint8_t *buf, *buf2, *end;
|
uint8_t *buf, *buf2, *end;
|
||||||
AC3HeaderInfo hdr;
|
AC3HeaderInfo hdr;
|
||||||
|
|
||||||
if(p->buf_size < 7)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
max_frames = 0;
|
max_frames = 0;
|
||||||
buf = p->buf;
|
buf = p->buf;
|
||||||
end = buf + p->buf_size;
|
end = buf + p->buf_size;
|
||||||
|
|||||||
Reference in New Issue
Block a user