diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-23 19:22:52 +0200 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-10-23 18:57:24 +0100 |
commit | e831b3b852a23cd24f2941e68bd65299ce306880 (patch) | |
tree | 9a11a298e00d0a164de65d1742cec9cd7b9e9b88 /libavcodec/lcldec.c | |
parent | d82f188504410fdfa446c5682c128c31bb5851a4 (diff) | |
download | ffmpeg-e831b3b852a23cd24f2941e68bd65299ce306880.tar.gz |
av_memcpy_backptr: Drop no longer necessary malloc padding
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/lcldec.c')
-rw-r--r-- | libavcodec/lcldec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 0de7410355..6b101ae6d1 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -476,7 +476,8 @@ static av_cold int decode_init(AVCodecContext *avctx) { LclDecContext * const c = avctx->priv_data; unsigned int basesize = avctx->width * avctx->height; - unsigned int max_basesize = FFALIGN(avctx->width, 4) * FFALIGN(avctx->height, 4) + AV_LZO_OUTPUT_PADDING; + unsigned int max_basesize = FFALIGN(avctx->width, 4) * + FFALIGN(avctx->height, 4); unsigned int max_decomp_size; if (avctx->extradata_size < 8) { |