[FFmpeg-cvslog] dca: favor native over ffmpeg in table name

Michael Niedermayer git at videolan.org
Fri Jun 29 13:32:06 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun 29 13:29:07 2012 +0200| [e8e733adccf7794017c2c1d98a1f2a052900542e] | committer: Michael Niedermayer

dca: favor native over ffmpeg in table name

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/dca.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index 517a5ac..87112ed 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -126,7 +126,7 @@ enum DCAXxchSpeakerMask {
     DCA_XXCH_REAR_LOW_RIGHT        = 0x8000000,
 };
 
-static const uint32_t map_xxch_to_ffmpeg[28] = {
+static const uint32_t map_xxch_to_native[28] = {
     AV_CH_FRONT_CENTER,
     AV_CH_FRONT_LEFT,
     AV_CH_FRONT_RIGHT,
@@ -2272,7 +2272,7 @@ static int dca_decode_frame(AVCodecContext *avctx, void *data,
         channel_layout = 0;
         for (i = 0; i < s->xxch_nbits_spk_mask; ++i) {
             if (channel_mask & (1 << i)) {
-                channel_layout |= map_xxch_to_ffmpeg[i];
+                channel_layout |= map_xxch_to_native[i];
             }
         }
 
@@ -2293,7 +2293,7 @@ static int dca_decode_frame(AVCodecContext *avctx, void *data,
                                   : s->xxch_core_spkmask;
                 for (i = 0; i < s->xxch_nbits_spk_mask; i++) {
                     if (mask & ~(DCA_XXCH_LFE1 | DCA_XXCH_LFE2) & (1 << i)) {
-                        lavc = map_xxch_to_ffmpeg[i];
+                        lavc = map_xxch_to_native[i];
                         posn = av_popcount(channel_layout & (lavc - 1));
                         s->xxch_order_tab[j++] = posn;
                     }



More information about the ffmpeg-cvslog mailing list