[FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

Michael Niedermayer michael at niedermayer.cc
Fri Jan 19 20:47:30 EET 2018


On Fri, Jan 19, 2018 at 11:09:51AM +0100, Timo Rothenpieler wrote:
> Am 18.01.2018 um 07:52 schrieb Yogender Gupta:
> >Improved the patch by dynamic allocation.
> >
> >Thanks,
> >Yogender
> >
> 
> > @@ -1072,6 +1083,8 @@ static void cuvid_flush(AVCodecContext *avctx)
> >      if (ret < 0)
> >          goto error;
> >

> > +    av_free(ctx->key_frame);

this should probably be av_freep()
unless the place where it resides is before some code
unconditionally overwriting it afterwards


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180119/b236c889/attachment.sig>


More information about the ffmpeg-devel mailing list