changeset 17819:7d5716fd634c

init sh_a (new audio stream) to sh_audio (current audio stream); closes cid 241
author nicodvb
date Sun, 12 Mar 2006 11:12:48 +0000
parents e2f06b46dac0
children 4e04e61b54ac
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Sat Mar 11 23:38:54 2006 +0000
+++ b/libmpdemux/demux_mpg.c	Sun Mar 12 11:12:48 2006 +0000
@@ -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)
               {