freebsd-ports/multimedia/mplayer/files/patch-mplayer.c
Thomas Zander 6ea8dbba59 - Update to recent mplayer snapshot (2015-08-22)
- Unbundle ffmpeg and use the distfile from multimedia/ffmpeg
  (currently on version 2.7.2)
- Fix edge case assertion in av_free on 9.x/i386 upon stream close
  with mencoder (no change in behaviour)
- Include LICENSE_FILE
- Pet portlint
2015-08-23 16:41:23 +00:00

12 lines
374 B
C

--- mplayer.c.orig 2015-06-10 21:17:35 UTC
+++ mplayer.c
@@ -3711,7 +3711,8 @@ goto_enable_cache:
if (use_gui) {
if (!gui(GUI_SET_VIDEO, mpctx->sh_video))
goto goto_next_file;
- gui(GUI_SET_AUDIO, mpctx->sh_audio);
+ if (mpctx->sh_audio)
+ gui(GUI_SET_AUDIO, mpctx->sh_audio);
}
#endif