mirror of https://github.com/mpv-player/mpv
2d9b6ff7cd
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. |
||
---|---|---|
.. | ||
ad.h | ||
ad_lavc.c | ||
ad_spdif.c | ||
dec_audio.c | ||
dec_audio.h |