summaryrefslogtreecommitdiff
path: root/libavcodec/mimic.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-04-12 09:33:38 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-04-12 09:33:38 +0000
commit55775b099d91d41741ff169faa31ac671d08eb6a (patch)
tree28b7954bd20f5691686f869853b320cc6e4f61aa /libavcodec/mimic.c
parent53bd67ec89352692f0e0b886bac03c94768701ce (diff)
downloadffmpeg-55775b099d91d41741ff169faa31ac671d08eb6a.tar.gz
Use AVERROR(ENOMEM) instead of AVERROR_NOMEM / -1 in eatqi and mimic decoders
Originally committed as revision 18467 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mimic.c')
-rw-r--r--libavcodec/mimic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c
index da5bba3c2e..3b40fdf759 100644
--- a/libavcodec/mimic.c
+++ b/libavcodec/mimic.c
@@ -337,7 +337,7 @@ static int mimic_decode_frame(AVCodecContext *avctx, void *data,
ctx->swap_buf = av_fast_realloc(ctx->swap_buf, &ctx->swap_buf_size,
swap_buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
if(!ctx->swap_buf)
- return AVERROR_NOMEM;
+ return AVERROR(ENOMEM);
ctx->dsp.bswap_buf((uint32_t*)ctx->swap_buf,
(const uint32_t*) buf,