[FFmpeg-devel] [PATCH] tools/target_dec_fuzzer: add support to fuzz bitstream filters

Michael Niedermayer michael at niedermayer.cc
Wed Nov 27 22:19:42 EET 2019


On Wed, Nov 27, 2019 at 01:17:34PM -0300, James Almer wrote:
> On 11/27/2019 1:09 PM, Michael Niedermayer wrote:
> > On Wed, Nov 27, 2019 at 11:41:09AM -0300, James Almer wrote:
> >> On 9/3/2019 10:49 AM, James Almer wrote:
> >>> On 8/30/2019 1:39 PM, James Almer wrote:
> >>>> Signed-off-by: James Almer <jamrial at gmail.com>
> >>>> ---
> > 
> >>>> Untested.
> > 
> > i can test if it applies
> > 
> > 
> >>>> I'm also not sure how to add the FFMPEG_BSF define to tools/Makefile,
> >>>> and have it coexist with FFMPEG_DECODER. Assuming it's needed.
> > 
> > maybe something like
> > tools/target_bsf_%_fuzzer.o: tools/target_dec_fuzzer.c
> >     $(COMPILE_C) -DFFMPEG_BSF=$*
> >     
> > but maybe i misunderdtand ...
> 
> But then what's the decoder used for it? Where is FFMPEG_CODEC defined
> in the absence of FFMPEG_DECODER?

do we need a decoder ?
the code could take the codec_id from the bsf codec_ids

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191127/ad4095a0/attachment.sig>


More information about the ffmpeg-devel mailing list