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

Tom Butterworth bangnoise at gmail.com
Fri Nov 4 15:57:18 EET 2016


"Vidvox Hap", not "Vidvox Hap encoder" or "Vidvox Hap decoder". Fixes bad name in fmmpeg -codecs, matches other codec naming.
---
 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),
-- 
2.9.3 (Apple Git-75)



More information about the ffmpeg-devel mailing list