mirror of
https://github.com/mpv-player/mpv
synced 2024-12-16 03:45:23 +00:00
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
This commit is contained in:
parent
a8ea2c96c9
commit
882b24c23c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user