diff options
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r-- | libavcodec/flashsv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 0fdbfde..1e8afdb 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -133,7 +133,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void *data, av_free(s->tmpblock); if ((s->tmpblock = av_malloc(3 * s->block_width * s->block_height)) == NULL) { av_log(avctx, AV_LOG_ERROR, "Can't allocate decompression buffer.\n"); - return -1; + return AVERROR(ENOMEM); } } s->block_size = s->block_width * s->block_height; |