Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-23 21:22:52 +0400
committerMans Rullgard <mans@mansr.com>2012-10-23 21:57:24 +0400
commite831b3b852a23cd24f2941e68bd65299ce306880 (patch)
tree9a11a298e00d0a164de65d1742cec9cd7b9e9b88 /libavcodec/dfa.c
parentd82f188504410fdfa446c5682c128c31bb5851a4 (diff)
av_memcpy_backptr: Drop no longer necessary malloc padding
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/dfa.c')
-rw-r--r--libavcodec/dfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dfa.c b/libavcodec/dfa.c
index 39f0f6465d..46051e041d 100644
--- a/libavcodec/dfa.c
+++ b/libavcodec/dfa.c
@@ -43,7 +43,7 @@ static av_cold int dfa_decode_init(AVCodecContext *avctx)
if ((ret = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0)
return ret;
- s->frame_buf = av_mallocz(avctx->width * avctx->height + AV_LZO_OUTPUT_PADDING);
+ s->frame_buf = av_mallocz(avctx->width * avctx->height);
if (!s->frame_buf)
return AVERROR(ENOMEM);