mirror of https://github.com/mpv-player/mpv
1d2d649281
The uninit() function was called twice if the uninit() function failed (once by init(), once by vd_lavc.c code), which caused crashes due to double-free. (This failure is a corner case, and all other hwdec backends appear to handle this case gracefully.) I do not think this code should be able to deal with uninit() being called other than once. Guarantee that it's called exactly once. |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
dxva2.c | ||
lavc.h | ||
rpi.c | ||
vaapi.c | ||
vd.h | ||
vd_lavc.c | ||
vdpau.c | ||
videotoolbox.c |