[FFmpeg-cvslog] Allow to print wider unsupported channel layouts.

Carl Eugen Hoyos git at videolan.org
Fri Apr 15 11:51:22 CEST 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Apr 15 11:50:28 2011 +0200| [f4bc923ec1b367ebdbc626da3bc0fa5a57e60910] | committer: Carl Eugen Hoyos

Allow to print wider unsupported channel layouts.

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

 libavdevice/alsa-audio-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavdevice/alsa-audio-common.c b/libavdevice/alsa-audio-common.c
index 3391cf2..c00e973 100644
--- a/libavdevice/alsa-audio-common.c
+++ b/libavdevice/alsa-audio-common.c
@@ -282,7 +282,7 @@ av_cold int ff_alsa_open(AVFormatContext *ctx, snd_pcm_stream_t mode,
             if (!s->reorder_buf)
                 goto fail1;
         } else {
-            char name[16];
+            char name[32];
             av_get_channel_layout_string(name, sizeof(name), channels, layout);
             av_log(ctx, AV_LOG_WARNING,
                    "ALSA channel layout unknown or unimplemented for %s %s.\n",



More information about the ffmpeg-cvslog mailing list