Commit cf4c26c8 authored by cehoyos's avatar cehoyos

Do not print 'faac:' when using libfaad.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20794 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent db186eca
...@@ -183,7 +183,7 @@ static int faac_decode_frame(AVCodecContext *avctx, ...@@ -183,7 +183,7 @@ static int faac_decode_frame(AVCodecContext *avctx,
unsigned char channels; unsigned char channels;
int r = s->faacDecInit(s->faac_handle, buf, buf_size, &srate, &channels); int r = s->faacDecInit(s->faac_handle, buf, buf_size, &srate, &channels);
if(r < 0){ 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; return -1;
} }
avctx->sample_rate = srate; avctx->sample_rate = srate;
...@@ -195,7 +195,7 @@ static int faac_decode_frame(AVCodecContext *avctx, ...@@ -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); out = s->faacDecDecode(s->faac_handle, &frame_info, (unsigned char*)buf, (unsigned long)buf_size);
if (frame_info.error > 0) { 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)); s->faacDecGetErrorMessage(frame_info.error));
return -1; return -1;
} }
......
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