[FFmpeg-cvslog] avcodec/hap: consistent name for codec

Tom Butterworth git at videolan.org
Fri Nov 4 21:23:06 EET 2016


ffmpeg | branch: master | Tom Butterworth <bangnoise at gmail.com> | Fri Nov  4 13:57:18 2016 +0000| [92280f86b4065be34f52531c73068bbe7f33febd] | committer: Lou Logan

avcodec/hap: consistent name for codec

"Vidvox Hap", not "Vidvox Hap encoder" or "Vidvox Hap decoder". Fixes
bad name in "ffmpeg -codecs", matches other codec naming.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavcodec/codec_desc.c | 2 +-
 libavcodec/hapdec.c     | 2 +-
 libavcodec/hapenc.c     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 2612215..9dbe2dc 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1273,7 +1273,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .id        = AV_CODEC_ID_HAP,
         .type      = AVMEDIA_TYPE_VIDEO,
         .name      = "hap",
-        .long_name = NULL_IF_CONFIG_SMALL("Vidvox Hap decoder"),
+        .long_name = NULL_IF_CONFIG_SMALL("Vidvox Hap"),
         .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
     },
     {
diff --git a/libavcodec/hapdec.c b/libavcodec/hapdec.c
index f1d44cd..a1cb0c7 100644
--- a/libavcodec/hapdec.c
+++ b/libavcodec/hapdec.c
@@ -426,7 +426,7 @@ static av_cold int hap_close(AVCodecContext *avctx)
 
 AVCodec ff_hap_decoder = {
     .name           = "hap",
-    .long_name      = NULL_IF_CONFIG_SMALL("Vidvox Hap decoder"),
+    .long_name      = NULL_IF_CONFIG_SMALL("Vidvox Hap"),
     .type           = AVMEDIA_TYPE_VIDEO,
     .id             = AV_CODEC_ID_HAP,
     .init           = hap_init,
diff --git a/libavcodec/hapenc.c b/libavcodec/hapenc.c
index c09a639..076923b 100644
--- a/libavcodec/hapenc.c
+++ b/libavcodec/hapenc.c
@@ -318,7 +318,7 @@ static const AVClass hapenc_class = {
 
 AVCodec ff_hap_encoder = {
     .name           = "hap",
-    .long_name      = NULL_IF_CONFIG_SMALL("Vidvox Hap encoder"),
+    .long_name      = NULL_IF_CONFIG_SMALL("Vidvox Hap"),
     .type           = AVMEDIA_TYPE_VIDEO,
     .id             = AV_CODEC_ID_HAP,
     .priv_data_size = sizeof(HapContext),



More information about the ffmpeg-cvslog mailing list