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
av_free_packet SEGV fix by (Arthur van Hoff (javanator))
Originally committed as revision 2013 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
22 years ago
parent
e71ea8b251
commit
342474abd9
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
libavformat/avformat.h
+ 3
- 1
libavformat/avformat.h
View File
@@ -45,7 +45,9 @@ int av_new_packet(AVPacket *pkt, int size);
*/
static inline void av_free_packet(AVPacket *pkt)
{
pkt->destruct(pkt);
if (pkt && pkt->destruct) {
pkt->destruct(pkt);
}
}
/*************************************************/
Write
Preview
Loading…
Cancel
Save