From 254dd3f10d9853438c861b281deb8e734804e2da Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 10 Dec 2009 22:29:21 +0000 Subject: [PATCH] Do not print 'faac:' when using libfaad. Originally committed as revision 20794 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libfaad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/libfaad.c b/libavcodec/libfaad.c index 953c2a1ed2..e417467d01 100644 --- a/libavcodec/libfaad.c +++ b/libavcodec/libfaad.c @@ -183,7 +183,7 @@ static int faac_decode_frame(AVCodecContext *avctx, unsigned char channels; int r = s->faacDecInit(s->faac_handle, buf, buf_size, &srate, &channels); if(r < 0){ - av_log(avctx, AV_LOG_ERROR, "faac: codec init failed.\n"); + av_log(avctx, AV_LOG_ERROR, "libfaad: codec init failed.\n"); return -1; } avctx->sample_rate = srate; @@ -195,7 +195,7 @@ static int faac_decode_frame(AVCodecContext *avctx, out = s->faacDecDecode(s->faac_handle, &frame_info, (unsigned char*)buf, (unsigned long)buf_size); if (frame_info.error > 0) { - av_log(avctx, AV_LOG_ERROR, "faac: frame decoding failed: %s\n", + av_log(avctx, AV_LOG_ERROR, "libfaad: frame decoding failed: %s\n", s->faacDecGetErrorMessage(frame_info.error)); return -1; }