Mercurial > libavcodec.hg
diff ac3dec.c @ 11581:998691d7f8f5 libavcodec
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 | 8a4984c5cacc |
children | e6bff5319932 |
line wrap: on
line diff
--- a/ac3dec.c Fri Apr 02 16:26:10 2010 +0000 +++ b/ac3dec.c Sat Apr 03 14:15:00 2010 +0000 @@ -216,7 +216,7 @@ if (avctx->error_recognition >= FF_ER_CAREFUL) { s->input_buffer = av_mallocz(AC3_FRAME_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE); if (!s->input_buffer) - return AVERROR_NOMEM; + return AVERROR(ENOMEM); } avctx->sample_fmt = SAMPLE_FMT_S16;