Browse Source

remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)

Originally committed as revision 10060 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
d1a4544de9
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavformat/raw.c

+ 0
- 3
libavformat/raw.c View File

@@ -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…
Cancel
Save