summaryrefslogtreecommitdiffstats
path: root/player/audio.c
diff options
context:
space:
mode:
authorRudolf Polzer <divVerent@xonotic.org>2014-11-12 12:16:07 +0100
committerRudolf Polzer <divVerent@xonotic.org>2014-11-12 12:16:07 +0100
commit4f63a812de6ed8a76dde2a3739513933748ac2af (patch)
tree0eacb6575a0b3054295ec357fc83be1b69d2dc06 /player/audio.c
parent88762cd6a7adfe3c9fb70fb3fcdb85b254119bf9 (diff)
downloadmpv-4f63a812de6ed8a76dde2a3739513933748ac2af.tar.bz2
mpv-4f63a812de6ed8a76dde2a3739513933748ac2af.tar.xz
ao_lavc, vo_lavc: Fix crashes in case of multiple init attempts.
When initialization failed, vo_lavc may cause an irrecoverable state in the ffmpeg-related structs. Therefore, we reject additional initialization attempts at least until we know a better way to clean up the mess. ao_lavc currently cannot be initialized more than once, yet it's good to do consistent changes there as well. Also, clean up uninit-after-failure handling to be less spammy.
Diffstat (limited to 'player/audio.c')
0 files changed, 0 insertions, 0 deletions