diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-14 12:43:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-16 00:39:52 +0200 |
commit | 64f59a21b39b380eaadc6d5f5dc721965fb785e4 (patch) | |
tree | 0b32e78d2937c724c07e0fafbab0fdaffe3a621b /libavcodec/allcodecs.c | |
parent | d0b5952325c9682aa1b0d1283164e6902643de25 (diff) | |
download | ffmpeg-streaming-64f59a21b39b380eaadc6d5f5dc721965fb785e4.zip ffmpeg-streaming-64f59a21b39b380eaadc6d5f5dc721965fb785e4.tar.gz |
avcodec: Disable new iterate API for ossfuzz
A few days ago ossfuzz stoped testing new FFmpeg as it run out of diskspacee
https://oss-fuzz-build-logs.storage.googleapis.com/index.html
An alternative would be to revert the API.
This changes for example
-rwxr-x--- 1 michael michael 144803654 May 14 12:54 tools/target_dec_ac3_fixed_fuzzer*
to
-rwxr-x--- 1 michael michael 30333852 May 14 12:51 tools/target_dec_ac3_fixed_fuzzer*
Which should massively decrease space requirements
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r-- | libavcodec/allcodecs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 102d99b..7b7a8c7 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -760,7 +760,12 @@ extern AVCodec ff_vp9_cuvid_decoder; extern AVCodec ff_vp9_mediacodec_decoder; extern AVCodec ff_vp9_vaapi_encoder; +// The iterate API is not usable with ossfuzz due to the excessive size of binaries created +#if CONFIG_OSSFUZZ +extern AVCodec * codec_list[]; +#else #include "libavcodec/codec_list.c" +#endif static AVOnce av_codec_static_init = AV_ONCE_INIT; static void av_codec_init_static(void) |