diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 19:29:23 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 22:03:23 +0400 |
commit | dca0e4cd6157a3cb0e4d380d1c35e5da1c737315 (patch) | |
tree | 389b9f48091dca08d5386c7f931869dc20484ef6 /libavcodec/utils.c | |
parent | 2bd303f95c0d689be777625332be20ed91bfb0a8 (diff) |
avcodec_encode_audio2: use ff_alloc_packet2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-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 |