Revision 254dd3f1 libavcodec/libfaad.c

View differences:

libavcodec/libfaad.c
183 183
        unsigned char channels;
184 184
        int r = s->faacDecInit(s->faac_handle, buf, buf_size, &srate, &channels);
185 185
        if(r < 0){
186
            av_log(avctx, AV_LOG_ERROR, "faac: codec init failed.\n");
186
            av_log(avctx, AV_LOG_ERROR, "libfaad: codec init failed.\n");
187 187
            return -1;
188 188
        }
189 189
        avctx->sample_rate = srate;
......
195 195
    out = s->faacDecDecode(s->faac_handle, &frame_info, (unsigned char*)buf, (unsigned long)buf_size);
196 196

  
197 197
    if (frame_info.error > 0) {
198
        av_log(avctx, AV_LOG_ERROR, "faac: frame decoding failed: %s\n",
198
        av_log(avctx, AV_LOG_ERROR, "libfaad: frame decoding failed: %s\n",
199 199
               s->faacDecGetErrorMessage(frame_info.error));
200 200
        return -1;
201 201
    }

Also available in: Unified diff