diff options
author | James Almer <[email protected]> | 2022-09-12 09:57:56 -0300 |
---|---|---|
committer | James Almer <[email protected]> | 2022-09-14 09:54:19 -0300 |
commit | 130483449ebec8fd8d9080d564f7ec5d46e18d39 (patch) | |
tree | 6a3b77bb5dd20c501d7bcb8ce58ae8972a8354a8 /libavfilter/vf_thumbnail_cuda.c | |
parent | 9903ba28c28ab18dc7b7b6fb8571cc8b5caae1a6 (diff) |
fftools/opt_common: check the return value of av_hwdevice_get_type_name before printing it
It may be NULL, as is the case for D3D11VA_VLD.
Running "ffmpeg -h decoder=h264" on a Windows build
Before:
Decoder h264 [H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10]:
Supported hardware devices: dxva2 (null) d3d11va cuda
After:
Decoder h264 [H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10]:
Supported hardware devices: dxva2 d3d11va cuda
Signed-off-by: James Almer <[email protected]>
Diffstat (limited to 'libavfilter/vf_thumbnail_cuda.c')
0 files changed, 0 insertions, 0 deletions