Revision a14c0824 libavcodec/flashsv.c

View differences:

libavcodec/flashsv.c
133 133
        av_free(s->tmpblock);
134 134
        if ((s->tmpblock = av_malloc(3 * s->block_width * s->block_height)) == NULL) {
135 135
            av_log(avctx, AV_LOG_ERROR, "Can't allocate decompression buffer.\n");
136
            return -1;
136
            return AVERROR(ENOMEM);
137 137
        }
138 138
    }
139 139
    s->block_size = s->block_width * s->block_height;

Also available in: Unified diff