Revision fd7cbc7f

View differences:

libavcodec/g729dec.c
171 171

  
172 172
    if (avctx->channels != 1) {
173 173
        av_log(avctx, AV_LOG_ERROR, "Only mono sound is supported (requested channels: %d).\n", avctx->channels);
174
        return AVERROR_NOFMT;
174
        return AVERROR(EINVAL);
175 175
    }
176 176

  
177 177
    /* Both 8kbit/s and 6.4kbit/s modes uses two subframes per frame. */

Also available in: Unified diff