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

Paul B Mahol git at videolan.org
Sun Dec 23 22:20:26 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Dec 22 12:01:57 2012 +0000| [98fed176cf28fac2a86b715c9d522e1cbecb45ff] | committer: Paul B Mahol

alsdec: improve warning message when invalid channel position is found

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavcodec/alsdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
             }



More information about the ffmpeg-cvslog mailing list