[vlc-commits] avcodec: revert define of deprecated values

Rafaël Carré git at videolan.org
Sun Jan 29 09:21:12 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 29 03:20:34 2012 -0500| [dd74923370c8be69b93eeff99582e9cb43812005] | committer: Rafaël Carré

avcodec: revert define of deprecated values

We want to use the new ones in our code

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

 modules/codec/avcodec/avcodec.h |   40 +++++++++++++++++++-------------------
 1 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/modules/codec/avcodec/avcodec.h b/modules/codec/avcodec/avcodec.h
index 0229071..620596a 100644
--- a/modules/codec/avcodec/avcodec.h
+++ b/modules/codec/avcodec/avcodec.h
@@ -321,26 +321,26 @@ int ffmpeg_OpenCodec( decoder_t *p_dec );
 #   define SAMPLE_FMT_FLT           AV_SAMPLE_FMT_FLT
 #   define SAMPLE_FMT_DBL           AV_SAMPLE_FMT_DBL
 
-#   define CH_FRONT_LEFT            AV_CH_FRONT_LEFT
-#   define CH_FRONT_RIGHT           AV_CH_FRONT_RIGHT
-#   define CH_FRONT_CENTER          AV_CH_FRONT_CENTER
-#   define CH_LOW_FREQUENCY         AV_CH_LOW_FREQUENCY
-#   define CH_BACK_LEFT             AV_CH_BACK_LEFT
-#   define CH_BACK_RIGHT            AV_CH_BACK_RIGHT
-#   define CH_FRONT_LEFT_OF_CENTER  AV_CH_FRONT_LEFT_OF_CENTER
-#   define CH_FRONT_RIGHT_OF_CENTER AV_CH_FRONT_RIGHT_OF_CENTER
-#   define CH_BACK_CENTER           AV_CH_BACK_CENTER
-#   define CH_SIDE_LEFT             AV_CH_SIDE_LEFT
-#   define CH_SIDE_RIGHT            AV_CH_SIDE_RIGHT
-#   define CH_TOP_CENTER            AV_CH_TOP_CENTER
-#   define CH_TOP_FRONT_LEFT        AV_CH_TOP_FRONT_LEFT
-#   define CH_TOP_FRONT_CENTER      AV_CH_TOP_FRONT_CENTER
-#   define CH_TOP_FRONT_RIGHT       AV_CH_TOP_FRONT_RIGHT
-#   define CH_TOP_BACK_LEFT         AV_CH_TOP_BACK_LEFT
-#   define CH_TOP_BACK_CENTER       AV_CH_TOP_BACK_CENTER
-#   define CH_TOP_BACK_RIGHT        AV_CH_TOP_BACK_RIGHT
-#   define CH_STEREO_LEFT           AV_CH_STEREO_LEFT
-#   define CH_STEREO_RIGHT          AV_CH_STEREO_RIGHT
+#   define AV_CH_FRONT_LEFT         CH_FRONT_LEFT
+#   define AV_CH_FRONT_RIGHT        CH_FRONT_RIGHT
+#   define AV_CH_FRONT_CENTER       CH_FRONT_CENTER
+#   define AV_CH_LOW_FREQUENCY      CH_LOW_FREQUENCY
+#   define AV_CH_BACK_LEFT          CH_BACK_LEFT
+#   define AV_CH_BACK_RIGHT         CH_BACK_RIGHT
+#   define AV_CH_FRONT_LEFT_OF_CENTER  CH_FRONT_LEFT_OF_CENTER
+#   define AV_CH_FRONT_RIGHT_OF_CENTER CH_FRONT_RIGHT_OF_CENTER
+#   define AV_CH_BACK_CENTER        CH_BACK_CENTER
+#   define AV_CH_SIDE_LEFT          CH_SIDE_LEFT
+#   define AV_CH_SIDE_RIGHT         CH_SIDE_RIGHT
+#   define AV_CH_TOP_CENTER         CH_TOP_CENTER
+#   define AV_CH_TOP_FRONT_LEFT     CH_TOP_FRONT_LEFT
+#   define AV_CH_TOP_FRONT_CENTER   CH_TOP_FRONT_CENTER
+#   define AV_CH_TOP_FRONT_RIGHT    CH_TOP_FRONT_RIGHT
+#   define AV_CH_TOP_BACK_LEFT      CH_TOP_BACK_LEFT
+#   define AV_CH_TOP_BACK_CENTER    CH_TOP_BACK_CENTER
+#   define AV_CH_TOP_BACK_RIGHT     CH_TOP_BACK_RIGHT
+#   define AV_CH_STEREO_LEFT        CH_STEREO_LEFT
+#   define AV_CH_STEREO_RIGHT       CH_STEREO_RIGHT
 
 
 #endif



More information about the vlc-commits mailing list