]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/gif.c
Add stereo rematrixing support to the AC-3 encoders.
[ffmpeg] / libavcodec / gif.c
index c04f8bbc1ddd7e7f06fa76f5461219eb454a8148..5114b892263cf8ed777d8c306b5ea3c61a2356ea 100644 (file)
@@ -133,10 +133,10 @@ static av_cold int gif_encode_init(AVCodecContext *avctx)
     avctx->coded_frame = &s->picture;
     s->lzw = av_mallocz(ff_lzw_encode_state_size);
     if (!s->lzw)
-        return AVERROR_NOMEM;
+        return AVERROR(ENOMEM);
     s->buf = av_malloc(avctx->width*avctx->height*2);
     if (!s->buf)
-         return AVERROR_NOMEM;
+         return AVERROR(ENOMEM);
     return 0;
 }