diff options
author | Michael Forney <mforney@mforney.org> | 2016-07-03 17:41:45 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-12-11 14:20:58 +0100 |
commit | 2d9b6ff7cd51c352533e13bb24624c387415dbfb (patch) | |
tree | a059937f827c0acba9beb62ade24cf44d0ea6ee4 /misc/bstr.h | |
parent | 0aa9b2a46973699ae0eb5aa2f8eed16311bdab2d (diff) | |
download | mpv-2d9b6ff7cd51c352533e13bb24624c387415dbfb.tar.bz2 mpv-2d9b6ff7cd51c352533e13bb24624c387415dbfb.tar.xz |
ad_spdif: Fix crash when spdif muxer is not available
Currently, if init_filter fails after lavf_ctx is allocated, uninit is called
which frees lavf_ctx, but doesn't clear the pointer in spdif_ctx. So, on the
next call of decode_packet, it thinks it is already initialized and uses it,
resulting in a crash on my system.
Diffstat (limited to 'misc/bstr.h')
0 files changed, 0 insertions, 0 deletions