alsdec: improve warning message when invalid channel position is found
authorPaul B Mahol <onemda@gmail.com>
Sat, 22 Dec 2012 12:01:57 +0000 (12:01 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sun, 23 Dec 2012 21:17:44 +0000 (21:17 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/alsdec.c

index 5b13c41..e86177a 100644 (file)
@@ -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) {
         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;
             }
                 sconf->chan_sort = 0;
                 break;
             }