You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/alacenc: allocate bigger packets
This commit is contained in:
@@ -623,7 +623,7 @@ static int alac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||||||
else
|
else
|
||||||
max_frame_size = s->max_coded_frame_size;
|
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;
|
return ret;
|
||||||
|
|
||||||
/* use verbatim mode for compression_level 0 */
|
/* use verbatim mode for compression_level 0 */
|
||||||
|
Reference in New Issue
Block a user