From b69335304d384ca52db98484719aadfd0f61ecb2 Mon Sep 17 00:00:00 2001 From: Andrey Turkin Date: Wed, 25 May 2016 19:57:11 +0300 Subject: avcodec/nvenc: use INIT_CLEANUP to deal with init failures Signed-off-by: Timo Rothenpieler --- libavcodec/nvenc_hevc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/nvenc_hevc.c') diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index f98c60d..659e1c9 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -112,4 +112,5 @@ AVCodec ff_nvenc_hevc_encoder = { .defaults = defaults, .pix_fmts = ff_nvenc_pix_fmts, .capabilities = AV_CODEC_CAP_DELAY, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, }; -- cgit v1.1