avcodec/alacenc: allocate bigger packets

This commit is contained in:
Paul B Mahol 2016-07-29 15:05:52 +02:00
parent 1fcf243216
commit 82b84c71b0
1 changed files with 1 additions and 1 deletions

View File

@ -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 */