From 87e8788680e16c51f6048af26f3f7830c35207a5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Apr 2007 11:34:15 +0000 Subject: allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/idcin.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavformat/idcin.c') diff --git a/libavformat/idcin.c b/libavformat/idcin.c index e2c92f3b45..f0f4427008 100644 --- a/libavformat/idcin.c +++ b/libavformat/idcin.c @@ -104,10 +104,6 @@ static int idcin_probe(AVProbeData *p) * audio channels: 0 for no audio, or 1 or 2 */ - /* cannot proceed without 20 bytes */ - if (p->buf_size < 20) - return 0; - /* check the video width */ number = AV_RL32(&p->buf[0]); if ((number == 0) || (number > 1024)) -- cgit v1.2.3