[FFmpeg-cvslog] tools/target_dec_fuzzer: suppress Wunused-function
Kacper Michajłow
git at videolan.org
Sat Jun 7 15:39:39 EEST 2025
ffmpeg | branch: master | Kacper Michajłow <kasper93 at gmail.com> | Fri Jun 6 19:20:33 2025 +0200| [ccfea9696f19dfff2b372da0b30bd1f5a276d06c] | committer: Michael Niedermayer
tools/target_dec_fuzzer: suppress Wunused-function
Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ccfea9696f19dfff2b372da0b30bd1f5a276d06c
---
tools/target_dec_fuzzer.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index dfff167f78..9e4d5bd64b 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -72,6 +72,8 @@ static void error(const char *err)
}
static const FFCodec *c = NULL;
+
+#ifndef FFMPEG_DECODER
static const FFCodec *AVCodecInitialize(enum AVCodecID codec_id)
{
const AVCodec *res;
@@ -81,6 +83,7 @@ static const FFCodec *AVCodecInitialize(enum AVCodecID codec_id)
error("Failed to find decoder");
return ffcodec(res);
}
+#endif
static int subtitle_handler(AVCodecContext *avctx, AVFrame *unused,
int *got_sub_ptr, const AVPacket *avpkt)
More information about the ffmpeg-cvslog
mailing list