Message ID | 20231002153103.21846-1-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | bf1159774b94ffcf1049f1def23db5d7cf46a433 |
Headers | show |
Series | [FFmpeg-devel,1/3] avcodec/vaapi_encode: Avoid double AVERRORS | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Mon, Oct 02, 2023 at 05:31:01PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > libavcodec/vaapi_encode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply patchset [...]
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index e3820956d16..6c3e41fb318 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c @@ -834,7 +834,7 @@ static int vaapi_encode_output(AVCodecContext *avctx, if (pic->tail_size) { if (ctx->tail_pkt->size) { - err = AVERROR(AVERROR_BUG); + err = AVERROR_BUG; goto end; }
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/vaapi_encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)