Revision 2874c81c libavformat/apetag.c

View differences:

libavformat/apetag.c
56 56
        return -1;
57 57
    value = av_malloc(size+1);
58 58
    if (!value)
59
        return AVERROR_NOMEM;
59
        return AVERROR(ENOMEM);
60 60
    get_buffer(pb, value, size);
61 61
    value[size] = 0;
62 62
    av_metadata_set2(&s->metadata, key, value, AV_METADATA_DONT_STRDUP_VAL);

Also available in: Unified diff