[FFmpeg-cvslog] qsvdec_hevc: fix a variable name
Anton Khirnov
git at videolan.org
Sun Nov 13 23:38:58 EET 2016
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Jun 22 12:00:48 2016 +0200| [c67594a2c7fd4381e6d44246b18487c7e6b75f02] | committer: Anton Khirnov
qsvdec_hevc: fix a variable name
hevcenc -> hevcdec, this is a _decoder_ plugin.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c67594a2c7fd4381e6d44246b18487c7e6b75f02
---
libavcodec/qsvdec_h2645.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/qsvdec_h2645.c b/libavcodec/qsvdec_h2645.c
index 134b5a6..ba57aeb 100644
--- a/libavcodec/qsvdec_h2645.c
+++ b/libavcodec/qsvdec_h2645.c
@@ -88,7 +88,7 @@ static av_cold int qsv_decode_init(AVCodecContext *avctx)
int ret;
if (avctx->codec_id == AV_CODEC_ID_HEVC && s->load_plugin != LOAD_PLUGIN_NONE) {
- static const char *uid_hevcenc_sw = "15dd936825ad475ea34e35f3f54217a6";
+ static const char *uid_hevcdec_sw = "15dd936825ad475ea34e35f3f54217a6";
if (s->qsv.load_plugins[0]) {
av_log(avctx, AV_LOG_WARNING,
@@ -96,7 +96,7 @@ static av_cold int qsv_decode_init(AVCodecContext *avctx)
"The load_plugin value will be ignored.\n");
} else {
av_freep(&s->qsv.load_plugins);
- s->qsv.load_plugins = av_strdup(uid_hevcenc_sw);
+ s->qsv.load_plugins = av_strdup(uid_hevcdec_sw);
if (!s->qsv.load_plugins)
return AVERROR(ENOMEM);
}
More information about the ffmpeg-cvslog
mailing list