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>2016-07-29 16:05:52 +0300
committerPaul B Mahol <onemda@gmail.com>2016-08-02 19:41:11 +0300
commit82b84c71b009884c8d041361027718b19922c76d (patch)
treebf30ad9de136d0b86fe8193dafb350ec4c191cdd /libavcodec/alacenc.c
parent1fcf243216259d871f55d23d256da90beed4f46f (diff)
avcodec/alacenc: allocate bigger packets
Diffstat (limited to 'libavcodec/alacenc.c')
-rw-r--r--libavcodec/alacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 9ac35f1a14..9095611289 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -623,7 +623,7 @@ static int alac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
else
max_frame_size = s->max_coded_frame_size;
- if ((ret = ff_alloc_packet2(avctx, avpkt, 2 * max_frame_size, 0)) < 0)
+ if ((ret = ff_alloc_packet2(avctx, avpkt, 4 * max_frame_size, 0)) < 0)
return ret;
/* use verbatim mode for compression_level 0 */