diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-04-12 09:33:38 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-04-12 09:33:38 +0000 |
commit | 55775b099d91d41741ff169faa31ac671d08eb6a (patch) | |
tree | 28b7954bd20f5691686f869853b320cc6e4f61aa /libavcodec/eatqi.c | |
parent | 53bd67ec89352692f0e0b886bac03c94768701ce (diff) | |
download | ffmpeg-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/eatqi.c')
-rw-r--r-- | libavcodec/eatqi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c index 3b6b8ebf9d..acddec0f9a 100644 --- a/libavcodec/eatqi.c +++ b/libavcodec/eatqi.c @@ -128,7 +128,7 @@ static int tqi_decode_frame(AVCodecContext *avctx, t->bitstream_buf = av_fast_realloc(t->bitstream_buf, &t->bitstream_buf_size, (buf_end-buf) + FF_INPUT_BUFFER_PADDING_SIZE); if (!t->bitstream_buf) - return -1; + return AVERROR(ENOMEM); s->dsp.bswap_buf((uint32_t*)t->bitstream_buf, (const uint32_t*)buf, (buf_end-buf)/4); init_get_bits(&s->gb, t->bitstream_buf, 8*(buf_end-buf)); |