
25 Feb
2006
25 Feb
'06
6:09 p.m.
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);