Browse Source

Allow to print wider unsupported channel layouts.

tags/n0.8
Carl Eugen Hoyos 14 years ago
parent
commit
f4bc923ec1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavdevice/alsa-audio-common.c

+ 1
- 1
libavdevice/alsa-audio-common.c View File

@@ -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",


Loading…
Cancel
Save