[FFmpeg-cvslog] r10060 - trunk/libavformat/raw.c

michael subversion
Fri Aug 10 18:12:50 CEST 2007


Author: michael
Date: Fri Aug 10 18:12:50 2007
New Revision: 10060

Log:
remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)


Modified:
   trunk/libavformat/raw.c

Modified: trunk/libavformat/raw.c
==============================================================================
--- trunk/libavformat/raw.c	(original)
+++ trunk/libavformat/raw.c	Fri Aug 10 18:12:50 2007
@@ -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;




More information about the ffmpeg-cvslog mailing list