diff --git a/libavcodec/faad.c b/libavcodec/faad.c index f11fd454c5..15e451b758 100644 --- a/libavcodec/faad.c +++ b/libavcodec/faad.c @@ -160,7 +160,7 @@ static int faac_decode_frame(AVCodecContext *avctx, if(!s->init){ unsigned long srate; 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){ av_log(avctx, AV_LOG_ERROR, "faac: codec init failed: %s\n", s->faacDecGetErrorMessage(frame_info.error));