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:
authorPaul B Mahol <onemda@gmail.com>2013-10-30 13:17:26 +0400
committerPaul B Mahol <onemda@gmail.com>2013-10-30 15:04:07 +0400
commit268d0d6e6c89e78ac717e5aea9a7f9c81ca44b33 (patch)
treee89efa44f8af8700560004393f6e242e68aecf19 /libavcodec/svq3.c
parent8e609eb475fec75bcb967d5efde2077dfe03b496 (diff)
avcodec/svq3: use av_fast_padded_malloc()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r--libavcodec/svq3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index 89bb616797..1c8e1ecd29 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -1125,8 +1125,7 @@ static int svq3_decode_frame(AVCodecContext *avctx, void *data,
h->mb_x = h->mb_y = h->mb_xy = 0;
if (s->watermark_key) {
- av_fast_malloc(&s->buf, &s->buf_size,
- buf_size+FF_INPUT_BUFFER_PADDING_SIZE);
+ av_fast_padded_malloc(&s->buf, &s->buf_size, buf_size);
if (!s->buf)
return AVERROR(ENOMEM);
memcpy(s->buf, avpkt->data, buf_size);