vpxenc: validate rational arguments
authorJohn Koleszar <jkoleszar@google.com>
Thu, 26 Apr 2012 00:08:56 +0000 (17:08 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 26 Apr 2012 00:11:05 +0000 (17:11 -0700)
commit1b27e93cd13ff60798e31634ddb362fa7aa9749d
treef5ecb1a0180087ccf7782557c4612aea4d5cb4ad
parentdba053898a662923e8750021314e1e90d0b92f80
vpxenc: validate rational arguments

Trap negative values and zero denominators at the point where they're
parsed.

Change-Id: I1ec9da5d4e95d3ef539860883041330ecec2f345
vpxenc.c