summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc_h264.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-03-31 17:20:09 +0200
committerDiego Biurrun <diego@biurrun.de>2016-04-04 15:05:27 +0200
commit4c6836db0f300d2c0401c6a1927a95c3258cc1ae (patch)
treec8f27205eccab4f9499a54b74b0b7b1b8d76b7ed /libavcodec/nvenc_h264.c
parente3453fd44480d903338c663238bf280215dd9a07 (diff)
nvenc_h264: Fix name of private AVClass
Diffstat (limited to 'libavcodec/nvenc_h264.c')
-rw-r--r--libavcodec/nvenc_h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/nvenc_h264.c b/libavcodec/nvenc_h264.c
index 7374b13f68..7a5157e31b 100644
--- a/libavcodec/nvenc_h264.c
+++ b/libavcodec/nvenc_h264.c
@@ -73,7 +73,7 @@ static const AVOption options[] = {
{ NULL }
};
-static const AVClass nvenc_hevc_class = {
+static const AVClass nvenc_h264_class = {
.class_name = "nvenc_h264",
.item_name = av_default_item_name,
.option = options,
@@ -99,7 +99,7 @@ AVCodec ff_h264_nvenc_encoder = {
.encode2 = ff_nvenc_encode_frame,
.close = ff_nvenc_encode_close,
.priv_data_size = sizeof(NVENCContext),
- .priv_class = &nvenc_hevc_class,
+ .priv_class = &nvenc_h264_class,
.defaults = defaults,
.capabilities = AV_CODEC_CAP_DELAY,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,