# HG changeset patch # User arpi # Date 1041075571 0 # Node ID 2c7870bf81db7d6f055a60b1c3e22cb5fc90e864 # Parent 0aee4b227d9e789f8423394f09af52ebf51b9242 sh_audio==NULL hotfix by Robert Varga diff -r 0aee4b227d9e -r 2c7870bf81db mplayer.c --- a/mplayer.c Sat Dec 28 00:55:54 2002 +0000 +++ b/mplayer.c Sat Dec 28 11:39:31 2002 +0000 @@ -2658,7 +2658,7 @@ d_audio->id,aid_temp); // FIXME: need a bettery way to change audio stream id d_audio->id=dvdsub_id=aid_temp; - resync_audio_stream(sh_audio); + if(sh_audio) resync_audio_stream(sh_audio); } break;