wm4 db565ca4f8 mplayer: fix crash when muted and audio codec fails
When audio codec initialization fails, reinit_audio_chain() will call
uninit_player() to close the AO. mpctx->ao is set, but mpctx->mixer.ao
is still NULL. uninit_player() assumes both variables are always the
same, and calls mixer_uninit(), even though mpctx->mixer.ao is NULL.
That function tries to access the ao without NULL check if mute was
enabled.

Fix this in mplayer.c by not relying on the assumption that
mpctx->ao == mpctx->mixer.ao. Also, add a check for NULL to mixer.c
(function muxer_uninit()). One of the checks is redundant and only one
of them is needed, but we add both for general robustness.
2012-10-03 01:41:13 +02:00
2012-10-03 01:28:40 +02:00
2012-09-23 14:57:41 +02:00
2012-10-03 01:28:40 +02:00
2012-09-30 15:17:37 +02:00
2012-08-01 17:07:35 +02:00
2012-02-01 22:46:27 +02:00
…
2012-08-03 03:34:38 +02:00
2010-03-09 19:18:43 +02:00
2012-10-03 01:28:40 +02:00
2011-04-02 07:28:53 +03:00
2012-08-01 17:07:35 +02:00
2012-10-03 01:28:40 +02:00
2012-08-07 01:29:56 +02:00
2012-09-18 21:07:29 +02:00
2012-08-01 17:07:35 +02:00
2012-08-01 17:07:35 +02:00
2012-09-18 21:04:47 +02:00
2012-07-29 00:04:17 +02:00

Compiling with full features requires development files for several
external libraries. Below is a list of some important requirements. For
more information see the output of './configure --help' for a list of options,
or look at the list of enabled and disabled features printed after running
'./configure'. If you think you have support for some feature installed
but configure fails to detect it, the file config.log may contain information
about the reasons for the failure.

Libraries specific to particular video output methods
(you'll want at least one of VDPAU, GL or Xv):
 - libvdpau (for VDPAU output, best choice for NVIDIA cards)
 - libGL (OpenGL output)
 - libXv (XVideo output)
general:
 - libasound   (ALSA audio output)
 - various general X development libraries
 - libfreetype (for libass)
 - libfontconfig (for libass)
 - libass
 - FFmpeg libraries (libavutil libavcodec libavformat libswscale libpostproc)

Most of the above libraries are available in suitable versions on normal
Linux distributions. However FFmpeg is an exception (distro versions may be
too old to work at all or work well). For that reason you may want to use
the separately available build wrapper that first compiles FFmpeg libraries
and libass, and then compiles the player statically linked against those.
S
Description
No description provided
Readme
212 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 86.5%
Lua 5.8%
Swift 2.3%
C++ 1.5%
Meson 1.1%
Other 2.8%