[MPlayer-cvslog] r26327 - trunk/libmpdemux/demux_nsv.c

reimar subversion at mplayerhq.hu
Sat Apr 5 11:19:55 CEST 2008


Author: reimar
Date: Sat Apr  5 11:19:55 2008
New Revision: 26327

Log:
Set demuxer->audio->id to avoid breakage due to r26301


Modified:
   trunk/libmpdemux/demux_nsv.c

Modified: trunk/libmpdemux/demux_nsv.c
==============================================================================
--- trunk/libmpdemux/demux_nsv.c	(original)
+++ trunk/libmpdemux/demux_nsv.c	Sat Apr  5 11:19:55 2008
@@ -181,6 +181,7 @@ static demuxer_t* demux_open_nsv ( demux
         // PCM fourcc needs extra parsing for every audio chunk, yet to implement
         if((demuxer->audio->id != -2) && strncmp(hdr+8,"NONE", 4)){//&&strncmp(hdr+8,"VLB ", 4)){
             sh_audio = new_sh_audio ( demuxer, 0 );
+            demuxer->audio->id = 0;
             demuxer->audio->sh = sh_audio;
             sh_audio->format=mmioFOURCC(hdr[8],hdr[9],hdr[10],hdr[11]);
             sh_audio->ds = demuxer->audio;



More information about the MPlayer-cvslog mailing list