mirror of https://git.ffmpeg.org/ffmpeg.git
tools/target_dem_fuzzer: Set format independent of c
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2b5e18a953
commit
af701196ec
|
@ -104,14 +104,14 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||
int seekable = 0;
|
||||
int ret;
|
||||
AVInputFormat *fmt = NULL;
|
||||
|
||||
if (!c) {
|
||||
#ifdef FFMPEG_DEMUXER
|
||||
#define DEMUXER_SYMBOL0(DEMUXER) ff_##DEMUXER##_demuxer
|
||||
#define DEMUXER_SYMBOL(DEMUXER) DEMUXER_SYMBOL0(DEMUXER)
|
||||
extern AVInputFormat DEMUXER_SYMBOL(FFMPEG_DEMUXER);
|
||||
fmt = &DEMUXER_SYMBOL(FFMPEG_DEMUXER);
|
||||
extern AVInputFormat DEMUXER_SYMBOL(FFMPEG_DEMUXER);
|
||||
fmt = &DEMUXER_SYMBOL(FFMPEG_DEMUXER);
|
||||
#endif
|
||||
|
||||
if (!c) {
|
||||
av_register_all();
|
||||
avcodec_register_all();
|
||||
av_log_set_level(AV_LOG_PANIC);
|
||||
|
|
Loading…
Reference in New Issue