1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-06-25 14:23:15 +02:00

lavc: add null codecs

They discard all input without ever returning any output. Useful for
development.
This commit is contained in:
Anton Khirnov
2023-01-27 18:41:40 +01:00
parent 229f3259f8
commit e3a99041b8
5 changed files with 129 additions and 0 deletions

View File

@ -884,6 +884,12 @@ extern const FFCodec ff_vp9_qsv_decoder;
extern const FFCodec ff_vp9_vaapi_encoder;
extern const FFCodec ff_vp9_qsv_encoder;
// null codecs
extern const FFCodec ff_vnull_decoder;
extern const FFCodec ff_vnull_encoder;
extern const FFCodec ff_anull_decoder;
extern const FFCodec ff_anull_encoder;
// The iterate API is not usable with ossfuzz due to the excessive size of binaries created
#if CONFIG_OSSFUZZ
const FFCodec * codec_list[] = {