1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +00:00
mpv/video
wm4 1d2d649281 vdpau: fix uninit when init fails
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.
2015-11-01 23:03:02 +01:00
..
decode vdpau: fix uninit when init fails 2015-11-01 23:03:02 +01:00
filter video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
out vo_opengl: win32: fix cross-compilation 2015-11-01 21:50:41 +01:00
csputils.c video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
csputils.h video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
d3d.h vo_direct3d, dxva2: use the same D3D device 2015-07-03 16:04:42 +02:00
fmt-conversion.c video: remove VDA support 2015-09-28 22:03:14 +02:00
fmt-conversion.h
gpu_memcpy.c video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
gpu_memcpy.h video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
hwdec.h video: remove VDA support 2015-09-28 22:03:14 +02:00
image_writer.c Replace deprecated av_free_packet() calls 2015-10-28 23:48:56 +01:00
image_writer.h
img_format.c video: fix playback of pal8 2015-11-01 14:11:43 +01:00
img_format.h vo_opengl: support all kinds of GBRP formats 2015-10-18 18:37:24 +02:00
img_fourcc.h
mp_image_pool.c video: replace our own refcounting with libavutil's 2015-07-05 23:56:00 +02:00
mp_image_pool.h
mp_image.c video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
mp_image.h video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
sws_utils.c video: replace vf_format outputlevels option with global option 2015-09-29 21:12:26 +02:00
sws_utils.h
vaapi.c vaapi: drop non-existing FourCC 2015-10-17 14:20:53 +02:00
vaapi.h vaapi: drop non-existing FourCC 2015-10-17 14:20:53 +02:00
vdpau_functions.inc vo_vdpau: directly get surface size from surface for screenshots 2015-06-05 22:34:16 +02:00
vdpau_mixer.c vdpau: retrieve mixer parameters directly from the hw surface 2015-05-28 21:54:02 +02:00
vdpau_mixer.h vdpau: retrieve mixer parameters directly from the hw surface 2015-05-28 21:54:02 +02:00
vdpau.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
vdpau.h video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00