You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
configure: Remove null_bsf dependency
Unneeded since c96904f525
(a bsf-list with zero bsfs is used since that commit).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
1
configure
vendored
1
configure
vendored
@@ -3725,7 +3725,6 @@ cws2fws_extralibs="zlib_extralibs"
|
|||||||
# libraries, in any order
|
# libraries, in any order
|
||||||
avcodec_deps="avutil"
|
avcodec_deps="avutil"
|
||||||
avcodec_suggest="libm"
|
avcodec_suggest="libm"
|
||||||
avcodec_select="null_bsf"
|
|
||||||
avdevice_deps="avformat avcodec avutil"
|
avdevice_deps="avformat avcodec avutil"
|
||||||
avdevice_suggest="libm"
|
avdevice_suggest="libm"
|
||||||
avfilter_deps="avutil"
|
avfilter_deps="avutil"
|
||||||
|
@@ -54,16 +54,14 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||||||
#define BSF_SYMBOL(BSF) BSF_SYMBOL0(BSF)
|
#define BSF_SYMBOL(BSF) BSF_SYMBOL0(BSF)
|
||||||
extern AVBitStreamFilter BSF_SYMBOL(FFMPEG_BSF);
|
extern AVBitStreamFilter BSF_SYMBOL(FFMPEG_BSF);
|
||||||
f = &BSF_SYMBOL(FFMPEG_BSF);
|
f = &BSF_SYMBOL(FFMPEG_BSF);
|
||||||
#else
|
|
||||||
extern AVBitStreamFilter ff_null_bsf;
|
|
||||||
f = &ff_null_bsf;
|
|
||||||
#endif
|
#endif
|
||||||
av_log_set_level(AV_LOG_PANIC);
|
av_log_set_level(AV_LOG_PANIC);
|
||||||
}
|
}
|
||||||
|
|
||||||
res = av_bsf_alloc(f, &bsf);
|
res = f ? av_bsf_alloc(f, &bsf) : av_bsf_get_null_filter(&bsf);
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
error("Failed memory allocation");
|
error("Failed memory allocation");
|
||||||
|
f = bsf->filter;
|
||||||
|
|
||||||
if (size > 1024) {
|
if (size > 1024) {
|
||||||
GetByteContext gbc;
|
GetByteContext gbc;
|
||||||
|
Reference in New Issue
Block a user