Mercurial > libavformat.hg
diff apetag.c @ 5930:08cd1179a20d libavformat
Replace all remaining occurrences of AVERROR_NOMEM with
AVERROR(ENOMEM).
AVERROR_NOMEM is deprecated and will be dropped at the next libavutil
major bump.
author | stefano |
---|---|
date | Sat, 03 Apr 2010 14:15:00 +0000 |
parents | 8e0b6203dfb5 |
children |
line wrap: on
line diff
--- a/apetag.c Sat Apr 03 12:16:33 2010 +0000 +++ b/apetag.c Sat Apr 03 14:15:00 2010 +0000 @@ -56,7 +56,7 @@ return -1; value = av_malloc(size+1); if (!value) - return AVERROR_NOMEM; + return AVERROR(ENOMEM); get_buffer(pb, value, size); value[size] = 0; av_metadata_set2(&s->metadata, key, value, AV_METADATA_DONT_STRDUP_VAL);