From a40067b39a61c58a970232dcda01d8a7e3fbb1ff Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 28 Dec 2002 11:39:31 +0000 Subject: [PATCH] sh_audio==NULL hotfix by Robert Varga git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8594 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index 333909356e..620ba67a66 100644 --- a/mplayer.c +++ b/mplayer.c @@ -2658,7 +2658,7 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) 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;