Message ID | 20200511224635.19071-1-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | 19738b1bc2e2700d9f589fb9d1d1d10e2bbf3d5e |
Headers | show |
Series | [FFmpeg-devel] libavcodec/decode: Mark decode_simple_internal() as inline | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
On Tue, May 12, 2020 at 12:46:35AM +0200, Michael Niedermayer wrote: > 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> > --- > libavcodec/decode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...]
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;
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> --- libavcodec/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)