[FFmpeg-devel] [PATCH] alsdec: improve warning message when invalid channel position is found

Paul B Mahol onemda at gmail.com
Sat Dec 22 13:05:43 CET 2012


diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index 5b13c41..e86177a 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -358,7 +358,7 @@ static av_cold int read_specific_config(ALSDecContext *ctx)
         for (i = 0; i < avctx->channels; i++) {
             sconf->chan_pos[i] = get_bits(&gb, chan_pos_bits);
             if (sconf->chan_pos[i] >= avctx->channels) {
-                av_log(avctx, AV_LOG_WARNING, "Invalid original channel position.\n");
+                av_log(avctx, AV_LOG_WARNING, "Invalid channel reordering.\n");
                 sconf->chan_sort = 0;
                 break;
             }
-- 
1.7.11.4



More information about the ffmpeg-devel mailing list