summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-02-02 00:33:18 +0000
committerMike Melanson <mike@multimedia.cx>2004-02-02 00:33:18 +0000
commit838f7095ed5f78133c3da44407ac74989ff4ebd1 (patch)
tree56040afe08a6598c1ea82795c94da3ae554c489e /src
parent9fc4830e77fc252328686dbe24d73d04c60c0df3 (diff)
downloadxine-lib-838f7095ed5f78133c3da44407ac74989ff4ebd1.tar.gz
xine-lib-838f7095ed5f78133c3da44407ac74989ff4ebd1.tar.bz2
tighten up content detection strategy for this type to avoid false
positives CVS patchset: 6103 CVS date: 2004/02/02 00:33:18
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_aud.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/demuxers/demux_aud.c b/src/demuxers/demux_aud.c
index d4351b1be..84c301513 100644
--- a/src/demuxers/demux_aud.c
+++ b/src/demuxers/demux_aud.c
@@ -34,7 +34,7 @@
* data. This makes seeking conceptually impossible. Upshot: Random
* seeking is not supported.
*
- * $Id: demux_aud.c,v 1.16 2004/01/09 01:26:32 miguelfreitas Exp $
+ * $Id: demux_aud.c,v 1.17 2004/02/02 00:33:18 tmmm Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -101,9 +101,15 @@ static int open_aud_file(demux_aud_t *this) {
if ((this->audio_samplerate < 8000) || (this->audio_samplerate > 48000))
return 0;
+#if 0
+note: This loose content detection strategy is causing a few false positives;
+remove this case for the time being since this audio type is not supported
+anyway.
if (header[11] == 1)
this->audio_type = BUF_AUDIO_WESTWOOD;
- else if (header[11] == 99)
+ else
+#endif
+ if (header[11] == 99)
this->audio_type = BUF_AUDIO_VQA_IMA;
else
return 0;