changeset 2366:ddc8034208a5 libavformat

remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)
author michael
date Fri, 10 Aug 2007 16:12:50 +0000
parents 76827ffd1cf6
children 43a4290a6d77
files raw.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/raw.c	Fri Aug 10 16:06:18 2007 +0000
+++ b/raw.c	Fri Aug 10 16:12:50 2007 +0000
@@ -409,9 +409,6 @@
     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;