mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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>
This commit is contained in:
parent
ba436c1586
commit
19738b1bc2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user