Mercurial > libavformat.hg
diff wc3movie.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 | 536e5527c1e0 |
children | 178de7695c6c |
line wrap: on
line diff
--- a/wc3movie.c Sat Apr 03 12:16:33 2010 +0000 +++ b/wc3movie.c Sat Apr 03 14:15:00 2010 +0000 @@ -186,7 +186,7 @@ /* load up the name */ buffer = av_malloc(size+1); if (!buffer) - return AVERROR_NOMEM; + return AVERROR(ENOMEM); if ((ret = get_buffer(pb, buffer, size)) != size) return AVERROR(EIO); buffer[size] = 0;