diff options
author | Mike Melanson <mike@multimedia.cx> | 2002-10-30 00:29:30 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2002-10-30 00:29:30 +0000 |
commit | 21c47d1da398a36b96453b52146ee032f888682e (patch) | |
tree | 90a5ebdb8fbdec6254fbf8c31ebbef183ebd2d24 | |
parent | 4af34cb4cdaaa3fb1d0d807135d50982551be69e (diff) | |
download | xine-lib-21c47d1da398a36b96453b52146ee032f888682e.tar.gz xine-lib-21c47d1da398a36b96453b52146ee032f888682e.tar.bz2 |
fix bug in content detection strategy
CVS patchset: 3098
CVS date: 2002/10/30 00:29:30
-rw-r--r-- | src/demuxers/demux_idcin.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |