diff options
author | Marton Balint <[email protected]> | 2020-04-18 21:37:45 +0200 |
---|---|---|
committer | Marton Balint <[email protected]> | 2020-05-01 17:22:58 +0200 |
commit | 6847affcb775e89d9256b33c7dc8a7502d2bb428 (patch) | |
tree | ad5cfcb92c307136d92b9e2ced5e23cc60b7fea9 /libavcodec/cook_parser.c | |
parent | e7626e4e7975ff887478ecd53a39f06b3d629751 (diff) |
avutil/opt: only skip evaluation for rational options
Fixes problems when non-rational options were set using rational expressions,
causing rounding errors and the option range limits not to be enforced
properly.
ffmpeg -f lavfi -i "sine=r=96000/2"
This caused an assertion failure with assert level 2.
Signed-off-by: Marton Balint <[email protected]>
Diffstat (limited to 'libavcodec/cook_parser.c')
0 files changed, 0 insertions, 0 deletions