Mercurial > libavformat.hg
diff rmdec.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 | e4080988d1b2 |
children | f74198942337 |
line wrap: on
line diff
--- a/rmdec.c Sat Apr 03 12:16:33 2010 +0000 +++ b/rmdec.c Sat Apr 03 14:15:00 2010 +0000 @@ -106,7 +106,7 @@ return -1; avctx->extradata = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); if (!avctx->extradata) - return AVERROR_NOMEM; + return AVERROR(ENOMEM); avctx->extradata_size = get_buffer(pb, avctx->extradata, size); memset(avctx->extradata + avctx->extradata_size, 0, FF_INPUT_BUFFER_PADDING_SIZE); if (avctx->extradata_size != size)