aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encoding.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-03-29 12:44:55 -0700
committerReinhard Tartler <siretart@tauware.de>2012-05-04 21:28:45 +0200
commit0e4bb0530f7d4cb1343499ee2bf0cb943d3b9a41 (patch)
tree4158aca111345ad4ea2456bda04cc310d8e65d65 /doc/examples/encoding.c
parent994c0efcc76ff90a2875472119b98fb2513e6f7a (diff)
downloadffmpeg-0e4bb0530f7d4cb1343499ee2bf0cb943d3b9a41.tar.gz
tta: prevents overflows for 32bit integers in header.
This prevents sample_rate/data_length from going negative, which caused various crashes and undefined behaviour further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org (cherry picked from commit ac80b812cd177553339467ea12548d71c9ef6865) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'doc/examples/encoding.c')
0 files changed, 0 insertions, 0 deletions