This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/libwebpenc: Use ff_alloc_packet2()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Michael Niedermayer
10 years ago
parent
06f2659891
commit
7e9cd4e100
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/libwebpenc.c
+ 1
- 1
libavcodec/libwebpenc.c
View File
@@ -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_packet
2
(
avctx,
pkt
, mw.size
, mw.size);
if (ret < 0)
goto end;
memcpy(pkt->data, mw.mem, mw.size);
Write
Preview
Loading…
Cancel
Save