* bugfixing call reference

Originally committed as revision 5092 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Zdenek Kabelac 19 years ago
parent 2669777981
commit 289f999dab
  1. 2
      libavcodec/faad.c

@ -160,7 +160,7 @@ static int faac_decode_frame(AVCodecContext *avctx,
if(!s->init){ if(!s->init){
unsigned long srate; unsigned long srate;
unsigned char channels; unsigned char channels;
int r = 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: %s\n", av_log(avctx, AV_LOG_ERROR, "faac: codec init failed: %s\n",
s->faacDecGetErrorMessage(frame_info.error)); s->faacDecGetErrorMessage(frame_info.error));

Loading…
Cancel
Save