diff options
Diffstat (limited to 'contrib/ffmpeg/libavcodec/sonic.c')
-rw-r--r-- | contrib/ffmpeg/libavcodec/sonic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ffmpeg/libavcodec/sonic.c b/contrib/ffmpeg/libavcodec/sonic.c index 2f798cc03..f3388589b 100644 --- a/contrib/ffmpeg/libavcodec/sonic.c +++ b/contrib/ffmpeg/libavcodec/sonic.c @@ -601,7 +601,7 @@ static int sonic_encode_init(AVCodecContext *avctx) avctx->coded_frame = avcodec_alloc_frame(); if (!avctx->coded_frame) - return -ENOMEM; + return AVERROR(ENOMEM); avctx->coded_frame->key_frame = 1; avctx->frame_size = s->block_align*s->downsampling; |