Mercurial > libavcodec.hg
changeset 10671:3ef57f4fa579 libavcodec
Do not print 'faac:' when using libfaad.
author | cehoyos |
---|---|
date | Thu, 10 Dec 2009 22:29:21 +0000 |
parents | 7986ecc952e1 |
children | 2aab93afc826 |
files | libfaad.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libfaad.c Thu Dec 10 20:05:04 2009 +0000 +++ b/libfaad.c Thu Dec 10 22:29:21 2009 +0000 @@ -183,7 +183,7 @@ 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 @@ 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; }