Commit f4bc923e authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Allow to print wider unsupported channel layouts.

parent 7c8c55ff
...@@ -282,7 +282,7 @@ av_cold int ff_alsa_open(AVFormatContext *ctx, snd_pcm_stream_t mode, ...@@ -282,7 +282,7 @@ av_cold int ff_alsa_open(AVFormatContext *ctx, snd_pcm_stream_t mode,
if (!s->reorder_buf) if (!s->reorder_buf)
goto fail1; goto fail1;
} else { } else {
char name[16]; char name[32];
av_get_channel_layout_string(name, sizeof(name), channels, layout); av_get_channel_layout_string(name, sizeof(name), channels, layout);
av_log(ctx, AV_LOG_WARNING, av_log(ctx, AV_LOG_WARNING,
"ALSA channel layout unknown or unimplemented for %s %s.\n", "ALSA channel layout unknown or unimplemented for %s %s.\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment