[vlc-devel] commit: Fixed typo in avcodec audio. (Laurent Aimar )

git version control git at videolan.org
Wed May 6 22:10:54 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed May  6 22:10:11 2009 +0200| [60c14553e254e0264702e99a605f95fc9d24447b] | committer: Laurent Aimar 

Fixed typo in avcodec audio.

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

 modules/codec/avcodec/audio.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c
index da0bd4b..cb89dd1 100644
--- a/modules/codec/avcodec/audio.c
+++ b/modules/codec/avcodec/audio.c
@@ -390,6 +390,12 @@ void EndAudioDec( decoder_t *p_dec )
 /*****************************************************************************
  *
  *****************************************************************************/
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 2, 0 )
+#   define LIBAVCODEC_AUDIO_LAYOUT
+#else
+#   warning "Audio channel layout is unsupported by your avcodec version."
+#endif
+
 #if defined(LIBAVCODEC_AUDIO_LAYOUT)
 static const uint64_t pi_channels_map[][2] =
 {
@@ -440,11 +446,6 @@ static const uint64_t pi_channels_map[][2] =
 };
 #endif
 
-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 2, 0 )
-#   define LIBAVCODEC_AUDIO_LAYOUT
-#else
-#   warning "Audio channel layout is unsupported by your avcodec version."
-#endif
 static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
 {
     decoder_sys_t *p_sys = p_dec->p_sys;




More information about the vlc-devel mailing list