[FFmpeg-devel] [PATCH] Remove CELT / Opus confusion in labels, doc and comments.

Nicolas George nicolas.george at normalesup.org
Tue Oct 25 10:14:34 CEST 2011


The situation was not clear when support was added but it is now:
CELT and Opus are really two different codecs.
The current code supports CELT via libcelt, not Opus.

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 configure                  |    2 +-
 doc/general.texi           |    2 +-
 libavcodec/libcelt_dec.c   |    4 ++--
 libavformat/oggparsecelt.c |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index 68bc6b7..a1106a1 100755
--- a/configure
+++ b/configure
@@ -162,7 +162,7 @@ Configuration options:
 External library support:
   --enable-avisynth        enable reading of AVISynth script files [no]
   --enable-bzlib           enable bzlib [autodetect]
-  --enable-libcelt         enable CELT/Opus decoding via libcelt [no]
+  --enable-libcelt         enable CELT decoding via libcelt [no]
   --enable-frei0r          enable frei0r video filtering
   --enable-libaacplus      enable AAC+ encoding via libaacplus [no]
   --enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
diff --git a/doc/general.texi b/doc/general.texi
index 3ba3c58..eb25453 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -619,7 +619,7 @@ following image formats are supported:
 @item Atrac 3                @tab     @tab  X
 @item Bink Audio             @tab     @tab  X
     @tab Used in Bink and Smacker files in many games.
- at item CELT (Opus)            @tab     @tab  E
+ at item CELT                   @tab     @tab  E
     @tab decoding supported through external library libcelt
 @item Delphine Software International CIN audio  @tab     @tab  X
     @tab Codec used in Delphine Software International games.
diff --git a/libavcodec/libcelt_dec.c b/libavcodec/libcelt_dec.c
index de126c8..8b8863a 100644
--- a/libavcodec/libcelt_dec.c
+++ b/libavcodec/libcelt_dec.c
@@ -1,5 +1,5 @@
 /*
- * Xiph CELT / Opus decoder using libcelt
+ * Xiph CELT decoder using libcelt
  * Copyright (c) 2011 Nicolas George
  *
  * This file is part of FFmpeg.
@@ -133,5 +133,5 @@ AVCodec ff_libcelt_decoder = {
     .close          = libcelt_dec_close,
     .decode         = libcelt_dec_decode,
     .capabilities   = 0,
-    .long_name = NULL_IF_CONFIG_SMALL("Xiph CELT/Opus decoder using libcelt"),
+    .long_name      = NULL_IF_CONFIG_SMALL("Xiph CELT decoder using libcelt"),
 };
diff --git a/libavformat/oggparsecelt.c b/libavformat/oggparsecelt.c
index 0af6fcc..982d3d7 100644
--- a/libavformat/oggparsecelt.c
+++ b/libavformat/oggparsecelt.c
@@ -1,5 +1,5 @@
 /*
- * Xiph CELT / Opus parser for Ogg
+ * Xiph CELT parser for Ogg
  * Copyright (c) 2011 Nicolas George
  *
  * This file is part of FFmpeg.
-- 
1.7.7



More information about the ffmpeg-devel mailing list