diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-05-12 06:51:30 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-05-12 06:51:30 +0000 |
commit | b1d966a088dc7560fab92d0dfda5999b8db4eb2c (patch) | |
tree | 6785ef1623e4400157904ae9f5fbcdebdf119db0 /libavcodec/libfaad.c | |
parent | 3375a6a597ee2adb01e043d66fa4d4b8332a5c80 (diff) | |
download | ffmpeg-b1d966a088dc7560fab92d0dfda5999b8db4eb2c.tar.gz |
Do not use variable frame_info before its value is set.
Originally committed as revision 13133 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libfaad.c')
-rw-r--r-- | libavcodec/libfaad.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/libfaad.c b/libavcodec/libfaad.c index 842231347a..1e1bf68eb7 100644 --- a/libavcodec/libfaad.c +++ b/libavcodec/libfaad.c @@ -180,8 +180,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: %s\n", - s->faacDecGetErrorMessage(frame_info.error)); + av_log(avctx, AV_LOG_ERROR, "faac: codec init failed.\n"); return -1; } avctx->sample_rate = srate; |