amrwb: error out early if mode is invalid.
Prevents using the invalid mode as an index in a static array, which would generate invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Showing
Please
register
or
sign in
to comment