[FFmpeg-cvslog] wmaenc: add new line to some error messages
Piotr Bandurski
git at videolan.org
Wed Dec 5 20:30:08 CET 2012
ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Wed Dec 5 17:37:42 2012 +0100| [538196050197e41e98da0de36b479992387def63] | committer: Michael Niedermayer
wmaenc: add new line to some error messages
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=538196050197e41e98da0de36b479992387def63
---
libavcodec/wmaenc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c
index 969ffc5..5aebe81 100644
--- a/libavcodec/wmaenc.c
+++ b/libavcodec/wmaenc.c
@@ -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);
}
More information about the ffmpeg-cvslog
mailing list