[FFmpeg-devel] [PATCH v2] lavc/libopenh264: Check for noopenh264

2024-03-29 Thread Akihiko Odaki
parameters it requires. Signed-off-by: Akihiko Odaki --- Changes in v2: - Changed to filter codecs with av_codec_iterate(). - Clarified potentially expensive and failable initialization tasks are not performed by WelsCreateDecoder() or WelsCreateSVCEncoder() but by the Initialize() functi

Re: [FFmpeg-devel] [PATCH] lavc/libopenh264: Check for noopenh264

2024-02-25 Thread Akihiko Odaki
On 2024/02/11 19:24, Andreas Rheinhardt wrote: Akihiko Odaki: noopenh264 is a "fake implementation of the OpenH264 library we can link from regardless of the actual library being available": https://gitlab.com/freedesktop-sdk/noopenh264 A distributor may wish to link agains

[FFmpeg-devel] [PATCH] lavc/libopenh264: Check for noopenh264

2024-02-10 Thread Akihiko Odaki
al library at runtime initialization and do not expose the encoder and decoder if they are not available. Signed-off-by: Akihiko Odaki --- libavcodec/codec_internal.h | 2 ++ libavcodec/libopenh264dec.c | 36 +++ libavcodec/libopenh264

[FFmpeg-devel] [PATCH] avcodec/vc1dec: Fix vc1_hwaccel_pixfmt_list_420

2024-02-10 Thread Akihiko Odaki
vc1_hwaccel_pixfmt_list_420 is referenced even if !(CONFIG_WMV3IMAGE_DECODER || CONFIG_VC1IMAGE_DECODER) so move it out of the #if block. Signed-off-by: Akihiko Odaki --- libavcodec/vc1dec.c | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff