tools/target_dec_fuzzer: suppress Wunused-function

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Kacper Michajłow 2025-06-06 19:20:33 +02:00 committed by Michael Niedermayer
parent 0c12265b05
commit ccfea9696f
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64

View File

@ -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)