diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-23 11:53:27 -0800 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-04-01 18:33:27 +0200 |
commit | cd6c5e16c6ae536435bfde9b455b0aca6e09cbae (patch) | |
tree | 65be6cb8899521c7ec3b6cd49c426ef2c46c2b21 /libavcodec/avpacket.c | |
parent | 18b2f23ef83cf317fcf0de6035878407ba68829c (diff) | |
download | ffmpeg-cd6c5e16c6ae536435bfde9b455b0aca6e09cbae.tar.gz |
swf: check return values for av_get/new_packet().
Prevents crashers when using the packet if allocation failed.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 31632e73f47d25e2077fce729571259ee6354854)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/avpacket.c')
0 files changed, 0 insertions, 0 deletions