Re: [FFmpeg-devel] [PATCH] avutil/opt: only skip evaluation for rational options

2020-05-01 Thread Marton Balint
On Wed, 29 Apr 2020, Marton Balint wrote: On Sat, 18 Apr 2020, Marton Balint wrote: 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

Re: [FFmpeg-devel] [PATCH] avutil/opt: only skip evaluation for rational options

2020-04-29 Thread Marton Balint
On Sat, 18 Apr 2020, Marton Balint wrote: 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.

[FFmpeg-devel] [PATCH] avutil/opt: only skip evaluation for rational options

2020-04-18 Thread Marton Balint
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 ---