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/avpacket: use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer
12 years ago
parent
e4c180c05a
commit
33c9bb943b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/avpacket.c
+ 1
- 1
libavcodec/avpacket.c
View File
@@ -394,7 +394,7 @@ int av_packet_split_side_data(AVPacket *pkt){
p-= size+5;
}
pkt->side_data = av_malloc
(i *
sizeof(*pkt->side_data));
pkt->side_data = av_malloc
_array(i,
sizeof(*pkt->side_data));
if (!pkt->side_data)
return AVERROR(ENOMEM);
Write
Preview
Loading…
Cancel
Save