changeset 26295:c8a489c8cae8

Set demuxer->audio->id to avoid breakage due to r26301
author reimar
date Sat, 05 Apr 2008 09:19:55 +0000
parents 42bb503a2522
children 71ddd37be152
files libmpdemux/demux_nsv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_nsv.c	Sat Apr 05 08:49:07 2008 +0000
+++ b/libmpdemux/demux_nsv.c	Sat Apr 05 09:19:55 2008 +0000
@@ -181,6 +181,7 @@
         // 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;