avutil/opt: Fix max/min checking in av_opt_set() for AV_OPT_TYPE_VIDEO_RATE
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 Jun 2016 03:01:26 +0000 (05:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 Jun 2016 08:35:13 +0000 (10:35 +0200)
commit37bb6004059c15f6a17f38b4ab5c5f5d2f61c087
tree58e3c2145414d5d13607123f50f7bdd56037e19d
parent4888932c4d3ac68c26f44d7adf1e22e0d7ed8808
avutil/opt: Fix max/min checking in av_opt_set() for AV_OPT_TYPE_VIDEO_RATE

Fixes Ticket5618

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/opt-test.c
libavutil/opt.c