[vlc-commits] avcodec: invert definition of deprecated values
Rafaël Carré
git at videolan.org
Sun Jan 29 10:18:06 CET 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 29 04:17:27 2012 -0500| [6689109fee1f315dfc1931e5263e9a4aa6f8cff3] | committer: Rafaël Carré
avcodec: invert definition of deprecated values
We want to use the new names in our code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6689109fee1f315dfc1931e5263e9a4aa6f8cff3
---
modules/codec/avcodec/avcodec.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/codec/avcodec/avcodec.h b/modules/codec/avcodec/avcodec.h
index 6b5c20e..fb436b0 100644
--- a/modules/codec/avcodec/avcodec.h
+++ b/modules/codec/avcodec/avcodec.h
@@ -314,12 +314,12 @@ int ffmpeg_OpenCodec( decoder_t *p_dec );
# define AV_PICTURE_TYPE_I FF_I_TYPE
# define AV_PICTURE_TYPE_P FF_P_TYPE
-# define SAMPLE_FMT_NONE AV_SAMPLE_FMT_NONE
-# define SAMPLE_FMT_U8 AV_SAMPLE_FMT_U8
-# define SAMPLE_FMT_S16 AV_SAMPLE_FMT_S16
-# define SAMPLE_FMT_S32 AV_SAMPLE_FMT_S32
-# define SAMPLE_FMT_FLT AV_SAMPLE_FMT_FLT
-# define SAMPLE_FMT_DBL AV_SAMPLE_FMT_DBL
+# define AV_SAMPLE_FMT_NONE SAMPLE_FMT_NONE
+# define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8
+# define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16
+# define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32
+# define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT
+# define AV_SAMPLE_FMT_DBL SAMPLE_FMT_DBL
#ifndef AV_CH_FRONT_LEFT
# define AV_CH_FRONT_LEFT CH_FRONT_LEFT
More information about the vlc-commits
mailing list