From 21c47d1da398a36b96453b52146ee032f888682e Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Wed, 30 Oct 2002 00:29:30 +0000 Subject: fix bug in content detection strategy CVS patchset: 3098 CVS date: 2002/10/30 00:29:30 --- src/demuxers/demux_idcin.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_idcin.c b/src/demuxers/demux_idcin.c index 163caf8a3..28dd3812d 100644 --- a/src/demuxers/demux_idcin.c +++ b/src/demuxers/demux_idcin.c @@ -63,7 +63,7 @@ * - if any bytes exceed 63, do not shift the bytes at all before * transmitting them to the video decoder * - * $Id: demux_idcin.c,v 1.23 2002/10/28 03:24:43 miguelfreitas Exp $ + * $Id: demux_idcin.c,v 1.24 2002/10/30 00:29:30 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -476,7 +476,8 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str /* check the audio sample rate */ current_value = LE_32(&header[8]); - if ((current_value < 8000) || (current_value > 48000)) { + if ((current_value != 0) && + ((current_value < 8000) || (current_value > 48000))) { free (this); return NULL; } -- cgit v1.2.3