History

tools/target_dec_fuzzer: suppress Wunused-function

Kacper Michajłow committed 1 year ago

Commit ccfea961 parent 0c122651 file · +3 −0Browse files

Unified · Split

tools/target_dec_fuzzer.c+3−0
@@ -72,6 +72,8 @@ static void error(const char *err) · 71 unmodified lines
72}72}
73 73
74static const FFCodec *c = NULL;74static const FFCodec *c = NULL;
75
76#ifndef FFMPEG_DECODER
75static const FFCodec *AVCodecInitialize(enum AVCodecID codec_id)77static const FFCodec *AVCodecInitialize(enum AVCodecID codec_id)
76{78{
77 const AVCodec *res;79 const AVCodec *res;
@@ -81,6 +83,7 @@ static const FFCodec *AVCodecInitialize(enum AVCodecID codec_id) · 3 unmodified lines
81 error("Failed to find decoder");83 error("Failed to find decoder");
82 return ffcodec(res);84 return ffcodec(res);
83}85}
86#endif
84 87
85static int subtitle_handler(AVCodecContext *avctx, AVFrame *unused,88static int subtitle_handler(AVCodecContext *avctx, AVFrame *unused,
86 int *got_sub_ptr, const AVPacket *avpkt)89 int *got_sub_ptr, const AVPacket *avpkt)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t