diff mbox

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

Message ID 20161104135718.28949-1-bangnoise@gmail.com
State Accepted
Commit 92280f86b4065be34f52531c73068bbe7f33febd
Headers show

Commit Message

Tom Butterworth Nov. 4, 2016, 1:57 p.m. UTC
"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(-)

Comments

Paul B Mahol Nov. 4, 2016, 3:55 p.m. UTC | #1
On 11/4/16, Tom Butterworth <bangnoise@gmail.com> wrote:
> "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(-)
>

ok
Lou Logan Nov. 4, 2016, 7:23 p.m. UTC | #2
On Fri, 4 Nov 2016 16:55:27 +0100, Paul B Mahol wrote:

> ok

Fixed typo in commit message and pushed.
diff mbox

Patch

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),