[vlc-devel] commit: TwinVQ support using the lastest avcodec commit from Vitor Sessak ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Aug 27 20:14:51 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 27 20:05:24 2009 +0200| [285861a17c274cb1002935698f117739a875d059] | committer: Jean-Baptiste Kempf 

TwinVQ support using the lastest avcodec commit from Vitor Sessak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=285861a17c274cb1002935698f117739a875d059
---

 include/vlc_fourcc.h           |    1 +
 modules/codec/avcodec/fourcc.c |    4 ++++
 src/misc/fourcc.c              |    3 +++
 3 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 46edc4e..5399875 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -264,6 +264,7 @@
 #define VLC_CODEC_FI32      VLC_FOURCC('f','i','3','2')
 #define VLC_CODEC_FL32      VLC_FOURCC('f','l','3','2')
 #define VLC_CODEC_FL64      VLC_FOURCC('f','l','6','4')
+#define VLC_CODEC_TWINVQ    VLC_FOURCC('T','W','I','N')
 
 /* Subtitle */
 #define VLC_CODEC_SPU       VLC_FOURCC('s','p','u',' ')
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 8a5937d..c590248 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -338,6 +338,10 @@ static const struct
 #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 51, 50, 1 )
     { VLC_CODEC_SPEEX, CODEC_ID_SPEEX, AUDIO_ES },
 #endif
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 34, 0 )
+#warning HERE
+    { VLC_CODEC_TWINVQ, CODEC_ID_TWINVQ, AUDIO_ES },
+#endif
 
     /* PCM */
     { VLC_CODEC_S8, CODEC_ID_PCM_S8, AUDIO_ES },
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index c503f34..65d37f9 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1068,6 +1068,9 @@ static const entry_t p_list_audio[] = {
     B(VLC_CODEC_FL32, "64 bits float"),
         A("fl64"),
 
+    B(VLC_CODEC_TWINVQ, "TwinVQ"),
+        A("TWIN"),
+
     B(0, "")
 };
 static const entry_t p_list_spu[] = {




More information about the vlc-devel mailing list