aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-12 11:12:48 +0000
committerGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-12 11:12:48 +0000
commit882b24c23c284b690e7e19c1b2e9f426002c98f4 (patch)
tree0cc807827dde63e8b09d3929b8c875f1437d1924 /libmpdemux
parenta8ea2c96c9e94a0ed4caf6aaacccda28b423352d (diff)
init sh_a (new audio stream) to sh_audio (current audio stream); closes cid 241
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17820 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_mpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_mpg.c b/libmpdemux/demux_mpg.c
index 041ee276c0..cfe45f2ab4 100644
--- a/libmpdemux/demux_mpg.c
+++ b/libmpdemux/demux_mpg.c
@@ -818,7 +818,7 @@ int demux_mpg_control(demuxer_t *demuxer,int cmd, void *arg){
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)
{