[NUT-devel] [NUT] (ods15): r78 - /trunk/demux_nut.c

syncmail at mplayerhq.hu syncmail at mplayerhq.hu
Sat Feb 25 18:09:08 CET 2006


Author: ods15
Date: Sat Feb 25 18:09:08 2006
New Revision: 78

Log:
allow playing of weird eor files for testing

Modified:
    trunk/demux_nut.c

Modified: trunk/demux_nut.c
==============================================================================
--- trunk/demux_nut.c (original)
+++ trunk/demux_nut.c Sat Feb 25 18:09:08 2006
@@ -93,7 +93,7 @@
 
 	priv->s = s;
 
-	for (i = 0; s[i].type != -1; i++) switch(s[i].type) {
+	for (i = 0; s[i].type != -1 && i < 2; i++) switch(s[i].type) {
 		case NUT_AUDIO_CLASS: {
 			WAVEFORMATEX *wf= calloc(sizeof(WAVEFORMATEX) + s[i].codec_specific_len, 1);
 			sh_audio_t* sh_audio=new_sh_audio(demuxer, i);




More information about the NUT-devel mailing list