diff options
author | Martin Storsjö <martin@martin.st> | 2011-05-22 21:34:49 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-05-22 22:06:17 +0300 |
commit | 8089b7fa8c5b5a48cc7101daa4be891d0ead5a5e (patch) | |
tree | e589859d9dc795b5770dd2e0a185343b77c3c17d /libavutil/mathematics.h | |
parent | 422b2362fc83ed3a75532ea68a6d167c52f447ec (diff) | |
download | ffmpeg-8089b7fa8c5b5a48cc7101daa4be891d0ead5a5e.tar.gz |
avoptions: Check the return value from av_get_number
This avoids doing a division by zero if the option wasn't found,
or wasn't an option of an appropriate type.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/mathematics.h')
0 files changed, 0 insertions, 0 deletions