[MPlayer-cvslog] CVS: main/libmpdemux demux_mpg.c,1.74,1.75

Nico Sabbi CVS syncmail at mplayerhq.hu
Sun Mar 12 12:12:50 CET 2006


CVS change done by Nico Sabbi CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv26245

Modified Files:
	demux_mpg.c 
Log Message:
init sh_a (new audio stream) to sh_audio (current audio stream); closes cid 241

Index: demux_mpg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mpg.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- demux_mpg.c	8 Mar 2006 15:21:12 -0000	1.74
+++ demux_mpg.c	12 Mar 2006 11:12:48 -0000	1.75
@@ -818,7 +818,7 @@
             if (mpg_d && mpg_d->num_a_streams > 1 && demuxer->audio && demuxer->audio->sh) {
               demux_stream_t *d_audio = demuxer->audio;
               sh_audio_t *sh_audio = d_audio->sh;
-              sh_audio_t *sh_a;
+              sh_audio_t *sh_a = sh_audio;
               int i;
               if (*((int*)arg) < 0)
               {




More information about the MPlayer-cvslog mailing list