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
Showing
Please
register
or
sign in
to comment