On Wed, Apr 24, 2024 at 02:39:45PM +0800, myp...@gmail.com wrote:
> On Wed, Apr 24, 2024 at 9:45 AM Michael Niedermayer
> <mich...@niedermayer.cc> wrote:
> >
> > Fixes: CID1428858(1/2) Logically dead code
> >
> > Sponsored-by: Sovereign Tech Fund
> > Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
> > ---
> >  doc/examples/vaapi_transcode.c | 4 +---
> >  1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/doc/examples/vaapi_transcode.c b/doc/examples/vaapi_transcode.c
> > index 8367cb30404..e1b7a438836 100644
> > --- a/doc/examples/vaapi_transcode.c
> > +++ b/doc/examples/vaapi_transcode.c
> > @@ -215,10 +215,8 @@ static int dec_enc(AVPacket *pkt, const AVCodec 
> > *enc_codec)
> >
> >  fail:
> >          av_frame_free(&frame);
> > -        if (ret < 0)
> > -            return ret;
> >      }
> > -    return 0;
> > +    return ret;
> >  }
> >
> it's ok, thx

will apply

thx

[...]ssssssssssss
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to