Mercurial > libavcodec.hg
changeset 6790:86ce080ea1e3 libavcodec
Do not use variable frame_info before its value is set.
author | cehoyos |
---|---|
date | Mon, 12 May 2008 06:51:30 +0000 |
parents | 8107e891b226 |
children | 23fc5822802d |
files | libfaad.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libfaad.c Sun May 11 23:39:55 2008 +0000 +++ b/libfaad.c Mon May 12 06:51:30 2008 +0000 @@ -180,8 +180,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: %s\n", - s->faacDecGetErrorMessage(frame_info.error)); + av_log(avctx, AV_LOG_ERROR, "faac: codec init failed.\n"); return -1; } avctx->sample_rate = srate;