[FFmpeg-cvslog] nvenc_h264: Fix name of private AVClass

Diego Biurrun git at videolan.org
Mon May 9 00:27:51 CEST 2016


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Mar 31 17:20:09 2016 +0200| [4c6836db0f300d2c0401c6a1927a95c3258cc1ae] | committer: Diego Biurrun

nvenc_h264: Fix name of private AVClass

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4c6836db0f300d2c0401c6a1927a95c3258cc1ae
---

 libavcodec/nvenc_h264.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/nvenc_h264.c b/libavcodec/nvenc_h264.c
index 7374b13..7a5157e 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,



More information about the ffmpeg-cvslog mailing list