summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-22 21:34:49 +0300
committerMartin Storsjö <martin@martin.st>2011-05-22 22:06:17 +0300
commit8089b7fa8c5b5a48cc7101daa4be891d0ead5a5e (patch)
treee589859d9dc795b5770dd2e0a185343b77c3c17d /libavcodec
parent422b2362fc83ed3a75532ea68a6d167c52f447ec (diff)
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 'libavcodec')
0 files changed, 0 insertions, 0 deletions