0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/video/filter
NRK d70b859084 mp_image: abort on av_buffer_ref() failure
this changes mp_image_new_ref() to handle allocation failure itself
instead of doing it at its many call-sites (some of which never checked
for failure at all).

also remove MP_HANDLE_OOM() from the call sites since this is not
necessary anymore.

not all the call-sites have been touched, since some of the caller might
be relying on `mp_image_new_ref(NULL)` returning NULL.

Fixes: https://github.com/mpv-player/mpv/issues/11840
2023-06-28 20:56:23 -07:00
..
refqueue.c mp_image: abort on av_buffer_ref() failure 2023-06-28 20:56:23 -07:00
refqueue.h
vf_d3d11vpp.c various: fix typos 2023-03-28 19:29:44 +00:00
vf_fingerprint.c
vf_format.c
vf_gpu.c vf_gpu: initialize depth=1 on target textures 2023-02-28 14:13:55 +00:00
vf_sub.c
vf_vapoursynth.c
vf_vavpp.c f_hwtransfer: disable vulkan multiplane images when uploading from cuda 2023-05-28 15:46:05 -07:00
vf_vdpaupp.c