diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-11 23:58:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-12 21:39:13 +0200 |
commit | 19738b1bc2e2700d9f589fb9d1d1d10e2bbf3d5e (patch) | |
tree | 4b79f59779f0edfb26b442fdcd0cac89ef75d9fc /libavcodec/decode.c | |
parent | ba436c1586d05bfd2094c26ca4ecb1542752cf38 (diff) |
libavcodec/decode: Mark decode_simple_internal() as inline
This was suggested in
https://github.com/google/oss-fuzz/issues/3787
to reduce the grouping errors by oss-fuzz
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/decode.c')
-rw-r--r-- | libavcodec/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 8102cf40de..48a61d5419 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -308,7 +308,7 @@ static int64_t guess_correct_pts(AVCodecContext *ctx, * returning any output, so this function needs to be called in a loop until it * returns EAGAIN. **/ -static int decode_simple_internal(AVCodecContext *avctx, AVFrame *frame) +static inline int decode_simple_internal(AVCodecContext *avctx, AVFrame *frame) { AVCodecInternal *avci = avctx->internal; DecodeSimpleContext *ds = &avci->ds; |