Revision 2874c81c libavformat/rtpdec_amr.c

View differences:

libavformat/rtpdec_amr.c
83 83
    /* Everything except the codec mode request byte should be output. */
84 84
    if (av_new_packet(pkt, len - 1)) {
85 85
        av_log(ctx, AV_LOG_ERROR, "Out of memory\n");
86
        return AVERROR_NOMEM;
86
        return AVERROR(ENOMEM);
87 87
    }
88 88
    pkt->stream_index = st->index;
89 89
    ptr = pkt->data;

Also available in: Unified diff