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/frame_thread_encoder: use av_packet_alloc()
Signed-off-by: James Almer <jamrial@gmail.com>
tags/n3.4
James Almer
8 years ago
parent
40bfaa190c
commit
015f976aae
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/frame_thread_encoder.c
+ 1
- 1
libavcodec/frame_thread_encoder.c
View File
@@ -70,7 +70,7 @@ static void * attribute_align_arg worker(void *v){
AVFrame *frame;
Task task;
if(!pkt) pkt
= av_mallocz(sizeof(*pkt)
);
if(!pkt) pkt
= av_packet_alloc(
);
if(!pkt) continue;
av_init_packet(pkt);
Write
Preview
Loading…
Cancel
Save