diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-08-10 16:12:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-08-10 16:12:50 +0000 |
commit | d1a4544de904cc76fea32d9d22252152ebb18edb (patch) | |
tree | 310a7fc1fc473e7a4490dbfd75df72100bc98a41 /libavformat/raw.c | |
parent | e020dbd2a13617b0c4343c66e84f425f04976b56 (diff) | |
download | ffmpeg-streaming-d1a4544de904cc76fea32d9d22252152ebb18edb.zip ffmpeg-streaming-d1a4544de904cc76fea32d9d22252152ebb18edb.tar.gz |
remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)
Originally committed as revision 10060 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r-- | libavformat/raw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c index fc8bfaf..f2b0888 100644 --- a/libavformat/raw.c +++ b/libavformat/raw.c @@ -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; |