Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | fail | Make fate failed |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | fail | Make fate failed |
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index 3ff19da274..91874fa14e 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -175,7 +175,7 @@ static int mp3_write_xing(AVFormatContext *s) return -1; } - switch (par->channels) { + switch (par->ch_layout.nb_channels) { case 1: channels = MPA_MONO; break; case 2: channels = MPA_STEREO; break; default: av_log(s, AV_LOG_WARNING, "Unsupported number of channels, "