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
avformat/gif: use av_packet_alloc()
Signed-off-by: James Almer <jamrial@gmail.com>
tags/n3.4
James Almer
7 years ago
parent
bb4b7624d9
commit
afe674734b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/gif.c
+ 1
- 1
libavformat/gif.c
View File
@@ -186,7 +186,7 @@ static int gif_write_packet(AVFormatContext *s, AVPacket *pkt)
AVStream *video_st = s->streams[0];
if (!gif->prev_pkt) {
gif->prev_pkt = av_
malloc(sizeof(*gif->prev_pkt)
);
gif->prev_pkt = av_
packet_alloc(
);
if (!gif->prev_pkt)
return AVERROR(ENOMEM);
Write
Preview
Loading…
Cancel
Save