diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 16:29:23 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 19:03:23 +0100 |
commit | dca0e4cd6157a3cb0e4d380d1c35e5da1c737315 (patch) | |
tree | 389b9f48091dca08d5386c7f931869dc20484ef6 /libavcodec | |
parent | 2bd303f95c0d689be777625332be20ed91bfb0a8 (diff) | |
download | ffmpeg-dca0e4cd6157a3cb0e4d380d1c35e5da1c737315.tar.gz |
avcodec_encode_audio2: use ff_alloc_packet2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 929376ecc5..548c2f1596 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1039,7 +1039,7 @@ int attribute_align_arg avcodec_encode_audio2(AVCodecContext *avctx, buf_size += 2*FF_MIN_BUFFER_SIZE; } } - if ((ret = ff_alloc_packet(avpkt, buf_size))) + if ((ret = ff_alloc_packet2(avctx, avpkt, buf_size))) return ret; /* Encoders using AVCodec.encode() that support |