[FFmpeg-cvslog] avfilter: add lumakey filter
ffmpeg | branch: master | Paul B Mahol | Sun Apr 23 19:59:32 2017 +0200| [dfc4ce5f5ddb7ae0934bb3ca40b99932cf3e1cb0] | committer: Paul B Mahol avfilter: add lumakey filter Signed-off-by: Paul B Mahol > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dfc4ce5f5ddb7ae0934bb3ca40b99932cf3e1cb0 --- Changelog| 1 + doc/filters.texi | 20 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/version.h| 2 +- libavfilter/vf_lumakey.c | 201 +++ 6 files changed, 225 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index ffc591d93f..f1fb014cdb 100644 --- a/Changelog +++ b/Changelog @@ -4,6 +4,7 @@ releases are sorted from youngest to oldest. version : - deflicker video filter - doubleweave video filter +- lumakey video filter version 3.3: - CrystalHD decoder moved to new decode API diff --git a/doc/filters.texi b/doc/filters.texi index 4c733f016e..0ee6792926 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -9278,6 +9278,26 @@ Interpolate values using a tetrahedron. @end table @end table +@section lumakey + +Turn certain luma values into transparency. + +The filter accepts the following options: + +@table @option +@item threshold +Set the luma which will be used as base for transparency. +Default value is @code{0}. + +@item tolerance +Set the range of luma values to be keyed out. +Default value is @code{0}. + +@item softness +Set the range of softness. Default value is @code{0}. +Use this to control gradual transition from zero to full transparency. +@end table + @section lut, lutrgb, lutyuv Compute a look-up table for binding each pixel component input value diff --git a/libavfilter/Makefile b/libavfilter/Makefile index 50c5132555..074c6907ef 100644 --- a/libavfilter/Makefile +++ b/libavfilter/Makefile @@ -212,6 +212,7 @@ OBJS-$(CONFIG_INTERLEAVE_FILTER) += f_interleave.o OBJS-$(CONFIG_KERNDEINT_FILTER) += vf_kerndeint.o OBJS-$(CONFIG_LENSCORRECTION_FILTER) += vf_lenscorrection.o OBJS-$(CONFIG_LOOP_FILTER) += f_loop.o +OBJS-$(CONFIG_LUMAKEY_FILTER)+= vf_lumakey.o OBJS-$(CONFIG_LUT_FILTER)+= vf_lut.o OBJS-$(CONFIG_LUT2_FILTER) += vf_lut2.o framesync.o OBJS-$(CONFIG_LUT3D_FILTER) += vf_lut3d.o diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c index f482adb3c5..c69f79e6ac 100644 --- a/libavfilter/allfilters.c +++ b/libavfilter/allfilters.c @@ -223,6 +223,7 @@ static void register_all(void) REGISTER_FILTER(KERNDEINT, kerndeint, vf); REGISTER_FILTER(LENSCORRECTION, lenscorrection, vf); REGISTER_FILTER(LOOP, loop, vf); +REGISTER_FILTER(LUMAKEY,lumakey,vf); REGISTER_FILTER(LUT,lut,vf); REGISTER_FILTER(LUT2, lut2, vf); REGISTER_FILTER(LUT3D, lut3d, vf); diff --git a/libavfilter/version.h b/libavfilter/version.h index 8daadc3779..2fa8dbda95 100644 --- a/libavfilter/version.h +++ b/libavfilter/version.h @@ -30,7 +30,7 @@ #include "libavutil/version.h" #define LIBAVFILTER_VERSION_MAJOR 6 -#define LIBAVFILTER_VERSION_MINOR 86 +#define LIBAVFILTER_VERSION_MINOR 87 #define LIBAVFILTER_VERSION_MICRO 100 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ diff --git a/libavfilter/vf_lumakey.c b/libavfilter/vf_lumakey.c new file mode 100644 index 00..418538f929 --- /dev/null +++ b/libavfilter/vf_lumakey.c @@ -0,0 +1,201 @@ +/* + * Copyright (c) 2017 Paul B Mahol + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include "libavutil/opt.h" +#include "libavutil/imgutils.h" +#include "avfilter.h" +#include "formats.h" +#include "internal.h" +#include "video.h" + +typedef struct LumakeyContext { +const AVClass *class; + +int threshold; +int tolerance; +int softness; + +int white; +int black; +int max; + +int (*do_lumakey_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); +} LumakeyContext; + +static int do_lumakey_slice8(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) +{ +Lu
[FFmpeg-cvslog] avcodec/dnxhd_parser: fix parsing interlaced video, simplify code
ffmpeg | branch: release/3.3 | Paul B Mahol | Sun Apr 23 11:53:57 2017 +0200| [da693f8daa62cb76a2aa05021d6c8d53a1b816b2] | committer: Marton Balint avcodec/dnxhd_parser: fix parsing interlaced video, simplify code There appears to be no need to treat interlaced videos differently, also that code is flawed, as for at least one input cur_field would be always 0. Fixes ticket #6344. Signed-off-by: Paul B Mahol (cherry picked from commit ac30754a148df58822a272555d1f6f860e42037e) > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=da693f8daa62cb76a2aa05021d6c8d53a1b816b2 --- libavcodec/dnxhd_parser.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/libavcodec/dnxhd_parser.c b/libavcodec/dnxhd_parser.c index 4f9bbceeeb..a1f632a620 100644 --- a/libavcodec/dnxhd_parser.c +++ b/libavcodec/dnxhd_parser.c @@ -29,8 +29,6 @@ typedef struct { ParseContext pc; -int interlaced; -int cur_field; /* first field is 0, second is 1 */ int cur_byte; int remaining; int w, h; @@ -56,8 +54,6 @@ static int dnxhd_find_frame_end(DNXHDParserContext *dctx, uint64_t state = pc->state64; int pic_found = pc->frame_start_found; int i = 0; -int interlaced = dctx->interlaced; -int cur_field = dctx->cur_field; if (!pic_found) { for (i = 0; i < buf_size; i++) { @@ -65,8 +61,6 @@ static int dnxhd_find_frame_end(DNXHDParserContext *dctx, if (ff_dnxhd_check_header_prefix(state & 0xff00LL) != 0) { i++; pic_found = 1; -interlaced = (state&2)>>1; /* byte following the 5-byte header prefix */ -cur_field = state&1; dctx->cur_byte = 0; dctx->remaining = 0; break; @@ -97,13 +91,11 @@ static int dnxhd_find_frame_end(DNXHDParserContext *dctx, if (dctx->remaining <= 0) return dctx->remaining; } -if (buf_size - i >= dctx->remaining && (!dctx->interlaced || dctx->cur_field)) { +if (buf_size - i + 47 >= dctx->remaining) { int remaining = dctx->remaining; pc->frame_start_found = 0; pc->state64 = -1; -dctx->interlaced = interlaced; -dctx->cur_field = 0; dctx->cur_byte = 0; dctx->remaining = 0; return remaining; @@ -120,8 +112,6 @@ static int dnxhd_find_frame_end(DNXHDParserContext *dctx, pc->frame_start_found = 0; pc->state64 = -1; -dctx->interlaced = interlaced; -dctx->cur_field = 0; dctx->cur_byte = 0; dctx->remaining = 0; return remaining; @@ -129,8 +119,6 @@ static int dnxhd_find_frame_end(DNXHDParserContext *dctx, } pc->frame_start_found = pic_found; pc->state64 = state; -dctx->interlaced = interlaced; -dctx->cur_field = cur_field; return END_NOT_FOUND; } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] tools/target_dec_fuzzer: Fix build with default FFmpeg build flags
ffmpeg | branch: master | Michael Niedermayer | Mon Apr 24 23:16:53 2017 +0200| [d976d2ec7874fec5385f361c72dc4f8d523368ba] | committer: Michael Niedermayer tools/target_dec_fuzzer: Fix build with default FFmpeg build flags Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d976d2ec7874fec5385f361c72dc4f8d523368ba --- tools/target_dec_fuzzer.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 43442a3616..5e6ed169d1 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -45,13 +45,17 @@ https://security.googleblog.com/2016/08/guided-in-process-fuzzing-of-chrome.html */ +#include "config.h" #include "libavutil/avassert.h" +#include "libavutil/imgutils.h" #include "libavutil/intreadwrite.h" #include "libavcodec/avcodec.h" #include "libavcodec/bytestream.h" #include "libavformat/avformat.h" +#include + static void error(const char *err) { fprintf(stderr, "%s", err); @@ -96,16 +100,16 @@ typedef struct FuzzDataBuffer { uint8_t *data_; } FuzzDataBuffer; -void FDBCreate(FuzzDataBuffer *FDB) { +static void FDBCreate(FuzzDataBuffer *FDB) { FDB->size_ = 0x1000; FDB->data_ = av_malloc(FDB->size_); if (!FDB->data_) error("Failed memory allocation"); } -void FDBDesroy(FuzzDataBuffer *FDB) { av_free(FDB->data_); } +static void FDBDesroy(FuzzDataBuffer *FDB) { av_free(FDB->data_); } -void FDBRealloc(FuzzDataBuffer *FDB, size_t size) { +static void FDBRealloc(FuzzDataBuffer *FDB, size_t size) { size_t needed = size + FF_INPUT_BUFFER_PADDING_SIZE; av_assert0(needed > size); if (needed > FDB->size_) { @@ -117,7 +121,7 @@ void FDBRealloc(FuzzDataBuffer *FDB, size_t size) { } } -void FDBPrepare(FuzzDataBuffer *FDB, AVPacket *dst, const uint8_t *data, +static void FDBPrepare(FuzzDataBuffer *FDB, AVPacket *dst, const uint8_t *data, size_t size) { FDBRealloc(FDB, size); ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] Make tools/target_dec_*_fuzzer buildable with configure and make
ffmpeg | branch: master | Michael Niedermayer | Fri Apr 21 23:58:32 2017 +0200| [5b499bf4a05ae7db3390cd7e6f08228488aea10c] | committer: Michael Niedermayer Make tools/target_dec_*_fuzzer buildable with configure and make Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5b499bf4a05ae7db3390cd7e6f08228488aea10c --- Makefile | 4 configure | 12 tools/Makefile | 10 ++ 3 files changed, 26 insertions(+) diff --git a/Makefile b/Makefile index 559c5b8d5f..fcee739405 100644 --- a/Makefile +++ b/Makefile @@ -77,9 +77,13 @@ all: $(AVPROGS) $(TOOLS): %$(EXESUF): %.o $(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $^ $(ELIBS) +target_dec_%_fuzzer$(EXESUF): target_dec_%_fuzzer.o $(FF_DEP_LIBS) + $(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $^ $(ELIBS) $(FF_EXTRALIBS) $(LIBFUZZER_PATH) + tools/cws2fws$(EXESUF): ELIBS = $(ZLIB) tools/uncoded_frame$(EXESUF): $(FF_DEP_LIBS) tools/uncoded_frame$(EXESUF): ELIBS = $(FF_EXTRALIBS) +tools/target_dec_%_fuzzer$(EXESUF): $(FF_DEP_LIBS) CONFIGURABLE_COMPONENTS = \ $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/all*.c)) \ diff --git a/configure b/configure index 1e3463c2c9..f4bcbe2c9d 100755 --- a/configure +++ b/configure @@ -438,6 +438,8 @@ Developer options (useful when working on FFmpeg itself): --random-seed=VALUE seed value for --enable/disable-random --disable-valgrind-backtrace do not print a backtrace under Valgrind (only applies to --disable-optimizations builds) + --enable-osfuzz Enable building fuzzer tool + --libfuzzer=PATH path to libfuzzer NOTE: Object files are built at the place where configure is launched. EOF @@ -1676,6 +1678,7 @@ CONFIG_LIST=" fontconfig memory_poisoning neon_clobber_test +ossfuzz pic raise_major thumb @@ -3509,6 +3512,9 @@ for opt do ;; --fatal-warnings) enable fatal_warnings ;; +--libfuzzer=*) +libfuzzer_path="$optval" +;; *) optname="${opt%%=*}" optname="${optname#--}" @@ -3577,6 +3583,11 @@ set >> $logfile test -n "$valgrind" && toolchain="valgrind-memcheck" +enabled ossfuzz && { +add_cflags -fsanitize=address,undefined -fsanitize-coverage=trace-pc-guard,trace-cmp -fno-omit-frame-pointer +add_ldflags -fsanitize=address,undefined -fsanitize-coverage=trace-pc-guard,trace-cmp +} + case "$toolchain" in *-asan) cc_default="${toolchain%-asan}" @@ -6737,6 +6748,7 @@ SLIB_INSTALL_EXTRA_SHLIB=${SLIB_INSTALL_EXTRA_SHLIB} VERSION_SCRIPT_POSTPROCESS_CMD=${VERSION_SCRIPT_POSTPROCESS_CMD} SAMPLES:=${samples:-\$(FATE_SAMPLES)} NOREDZONE_FLAGS=$noredzone_flags +LIBFUZZER_PATH=$libfuzzer_path EOF get_version(){ diff --git a/tools/Makefile b/tools/Makefile index 49f55d2a9e..2b9432bcc2 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,6 +1,16 @@ TOOLS = qt-faststart trasher uncoded_frame TOOLS-$(CONFIG_ZLIB) += cws2fws +tools/target_dec_video_%_fuzzer.o: tools/target_dec_fuzzer.c + $(COMPILE_C) -DFFMPEG_CODEC=AV_CODEC_ID_$* -DFUZZ_FFMPEG_VIDEO + +tools/target_dec_audio_%_fuzzer.o: tools/target_dec_fuzzer.c + $(COMPILE_C) -DFFMPEG_CODEC=AV_CODEC_ID_$* -DFUZZ_FFMPEG_AUDIO + +tools/target_dec_subtitle_%_fuzzer.o: tools/target_dec_fuzzer.c + $(COMPILE_C) -DFFMPEG_CODEC=AV_CODEC_ID_$* -DFUZZ_FFMPEG_SUBTITLE + + OBJDIRS += tools clean:: ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] fate: Add test for pkt_size of ffprobe
ffmpeg | branch: master | Michael Niedermayer | Mon Apr 24 00:19:36 2017 +0200| [177608aa7498ab76c8a4062b507afc25ee53] | committer: Michael Niedermayer fate: Add test for pkt_size of ffprobe Suggested-by: James Almer Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=177608aa7498ab76c8a4062b507afc25ee53 --- tests/fate/audio.mak| 6 +- tests/ref/fate/flcl1905 | 193 2 files changed, 198 insertions(+), 1 deletion(-) diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak index e882acedf6..d6fa18cb2f 100644 --- a/tests/fate/audio.mak +++ b/tests/fate/audio.mak @@ -57,7 +57,11 @@ fate-smacker-audio: CMD = framecrc -i $(TARGET_SAMPLES)/smacker/wetlogo.smk -vn FATE_SAMPLES_AUDIO-$(call DEMDEC, WSVQA, WS_SND1) += fate-ws_snd fate-ws_snd: CMD = md5 -i $(TARGET_SAMPLES)/vqa/ws_snd.vqa -f s16le +fate-flcl1905: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_frames -show_packets -print_format compact $(TARGET_SAMPLES)/wav/FLCL_Ending_My-short.wav + FATE_SAMPLES_AUDIO += $(FATE_SAMPLES_AUDIO-yes) +FATE_SAMPLES_FFPROBE += fate-flcl1905 + FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_AUDIO) -fate-audio: $(FATE_SAMPLES_AUDIO) +fate-audio: $(FATE_SAMPLES_AUDIO) fate-flcl1905 diff --git a/tests/ref/fate/flcl1905 b/tests/ref/fate/flcl1905 new file mode 100644 index 00..de42921863 --- /dev/null +++ b/tests/ref/fate/flcl1905 @@ -0,0 +1,193 @@ +packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.00|dts=0|dts_time=0.00|duration=22528|duration_time=0.510839|convergence_duration=N/A|convergence_duration_time=N/A|size=4092|pos=56|flags=K_ +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=0|pkt_pts_time=0.00|pkt_dts=0|pkt_dts_time=0.00|best_effort_timestamp=0|best_effort_timestamp_time=0.00|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=4092|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=3720|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=3348|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=2976|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=2604|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=2232|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=1860|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=1488|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=1116|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=744|sample_fmt=fltp|nb_samples=2048|channels=2|channel_layout=unknown +frame|media_type=audio|stream_index=0|key_frame=1|pkt_pts=N/A|pkt_pts_time=N/A|pkt_dts=N/A|pkt_dts_time=N/A|best_effort_timestamp=N/A|best_effort_timestamp_time=N/A|pkt_duration=22528|pkt_duration_time=0.510839|pkt_pos=56|pkt_size=372|sample_fmt=fltp|nb_samples=2048|channels=2|chann
[FFmpeg-cvslog] tools/target_dec_fuzzer: Remove FuzzerInterface.h dependancy
ffmpeg | branch: master | Michael Niedermayer | Tue Apr 25 03:08:27 2017 +0200| [550a9c547ec4139ecdfa5889916edb2732bc61c1] | committer: Michael Niedermayer tools/target_dec_fuzzer: Remove FuzzerInterface.h dependancy The header is not always available in the docker build environment Suggested-by: Kostya Serebryany Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=550a9c547ec4139ecdfa5889916edb2732bc61c1 --- tools/target_dec_fuzzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 5e6ed169d1..dc72fd8b5d 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -54,7 +54,7 @@ #include "libavcodec/bytestream.h" #include "libavformat/avformat.h" -#include +int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); static void error(const char *err) { ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog