Commit 53819605 authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Michael Niedermayer

wmaenc: add new line to some error messages

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 92834609
......@@ -33,13 +33,13 @@ static int encode_init(AVCodecContext * avctx){
s->avctx = avctx;
if(avctx->channels > MAX_CHANNELS) {
av_log(avctx, AV_LOG_ERROR, "too many channels: got %i, need %i or fewer",
av_log(avctx, AV_LOG_ERROR, "too many channels: got %i, need %i or fewer\n",
avctx->channels, MAX_CHANNELS);
return AVERROR(EINVAL);
}
if (avctx->sample_rate > 48000) {
av_log(avctx, AV_LOG_ERROR, "sample rate is too high: %d > 48kHz",
av_log(avctx, AV_LOG_ERROR, "sample rate is too high: %d > 48kHz\n",
avctx->sample_rate);
return AVERROR(EINVAL);
}
......
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