diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-02 20:58:31 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-02 20:58:31 +0200 |
commit | 7e9cd4e100086c187c7ad5d8953be3ef282ab497 (patch) | |
tree | df001e79202952b737a6b3b61fa1661a5c8957d0 | |
parent | 06f26598919487edc4d2715228a2fd8d3764e059 (diff) | |
download | ffmpeg-7e9cd4e100086c187c7ad5d8953be3ef282ab497.tar.gz |
avcodec/libwebpenc: Use ff_alloc_packet2()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/libwebpenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libwebpenc.c b/libavcodec/libwebpenc.c index db96e1637b..0bcf628e58 100644 --- a/libavcodec/libwebpenc.c +++ b/libavcodec/libwebpenc.c @@ -57,7 +57,7 @@ static int libwebp_encode_frame(AVCodecContext *avctx, AVPacket *pkt, goto end; } - ret = ff_alloc_packet(pkt, mw.size); + ret = ff_alloc_packet2(avctx, pkt, mw.size, mw.size); if (ret < 0) goto end; memcpy(pkt->data, mw.mem, mw.size); |