Mercurial > libavformat.hg
diff flacdec.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 | 81614e9b541b |
line wrap: on
line diff
--- a/flacdec.c Sat Apr 03 12:16:33 2010 +0000 +++ b/flacdec.c Sat Apr 03 14:15:00 2010 +0000 @@ -67,7 +67,7 @@ case FLAC_METADATA_TYPE_VORBIS_COMMENT: buffer = av_mallocz(metadata_size + FF_INPUT_BUFFER_PADDING_SIZE); if (!buffer) { - return AVERROR_NOMEM; + return AVERROR(ENOMEM); } if (get_buffer(s->pb, buffer, metadata_size) != metadata_size) { av_freep(&buffer);