diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-07-29 15:05:52 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-08-02 18:41:11 +0200 |
commit | 82b84c71b009884c8d041361027718b19922c76d (patch) | |
tree | bf30ad9de136d0b86fe8193dafb350ec4c191cdd /libavcodec/alacenc.c | |
parent | 1fcf243216259d871f55d23d256da90beed4f46f (diff) | |
download | ffmpeg-82b84c71b009884c8d041361027718b19922c76d.tar.gz |
avcodec/alacenc: allocate bigger packets
Diffstat (limited to 'libavcodec/alacenc.c')
-rw-r--r-- | libavcodec/alacenc.c | 2 |
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 */ |