]> git.sesse.net Git - ffmpeg/commitdiff
nvenc_h264: Fix name of private AVClass
authorDiego Biurrun <diego@biurrun.de>
Thu, 31 Mar 2016 15:20:09 +0000 (17:20 +0200)
committerDiego Biurrun <diego@biurrun.de>
Mon, 4 Apr 2016 13:05:27 +0000 (15:05 +0200)
libavcodec/nvenc_h264.c

index 7374b13f68ac5bc6d02028c2fbfc4a46b04e71ef..7a5157e31b1178b9d6b2045ec3e272dbf75a32f2 100644 (file)
@@ -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,