aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-07-05 21:56:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-07-05 23:05:25 +0200
commitc0db6320a639db41802995501c9607407f0e8ed8 (patch)
tree68380511d4fb58d05775413fde983bca3d4b3555
parent0e7bbdbeaf7f42d2a277cd1206edd24a4c88f304 (diff)
downloadffmpeg-c0db6320a639db41802995501c9607407f0e8ed8.tar.gz
avcodec/avuienc: Use ff_alloc_packet()
This should be faster in theory for AVUI, no speed difference meassurable though Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/avuienc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avuienc.c b/libavcodec/avuienc.c
index 017619b4e4..b32f433b29 100644
--- a/libavcodec/avuienc.c
+++ b/libavcodec/avuienc.c
@@ -67,7 +67,7 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
skip = 16;
}
size = 2 * avctx->width * (avctx->height + skip) + 8 * interlaced;
- if ((ret = ff_alloc_packet2(avctx, pkt, size)) < 0)
+ if ((ret = ff_alloc_packet(pkt, size)) < 0)
return ret;
dst = pkt->data;
if (!interlaced) {