Commit 4c6836db authored by Diego Biurrun's avatar Diego Biurrun

nvenc_h264: Fix name of private AVClass

parent e3453fd4
...@@ -73,7 +73,7 @@ static const AVOption options[] = { ...@@ -73,7 +73,7 @@ static const AVOption options[] = {
{ NULL } { NULL }
}; };
static const AVClass nvenc_hevc_class = { static const AVClass nvenc_h264_class = {
.class_name = "nvenc_h264", .class_name = "nvenc_h264",
.item_name = av_default_item_name, .item_name = av_default_item_name,
.option = options, .option = options,
...@@ -99,7 +99,7 @@ AVCodec ff_h264_nvenc_encoder = { ...@@ -99,7 +99,7 @@ AVCodec ff_h264_nvenc_encoder = {
.encode2 = ff_nvenc_encode_frame, .encode2 = ff_nvenc_encode_frame,
.close = ff_nvenc_encode_close, .close = ff_nvenc_encode_close,
.priv_data_size = sizeof(NVENCContext), .priv_data_size = sizeof(NVENCContext),
.priv_class = &nvenc_hevc_class, .priv_class = &nvenc_h264_class,
.defaults = defaults, .defaults = defaults,
.capabilities = AV_CODEC_CAP_DELAY, .capabilities = AV_CODEC_CAP_DELAY,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment