diff options
author | Andrey Turkin <andrey.turkin@gmail.com> | 2016-05-25 19:57:11 +0300 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2016-05-31 15:48:43 +0200 |
commit | b69335304d384ca52db98484719aadfd0f61ecb2 (patch) | |
tree | f13ed72ab4592dde84c43335c5e8f1a77aa55547 /libavcodec/nvenc_hevc.c | |
parent | f84dfbc74a4f881e80cbf467649c59b2bb628eaa (diff) | |
download | ffmpeg-b69335304d384ca52db98484719aadfd0f61ecb2.tar.gz |
avcodec/nvenc: use INIT_CLEANUP to deal with init failures
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc_hevc.c')
-rw-r--r-- | libavcodec/nvenc_hevc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index f98c60da13..659e1c9455 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, }; |