#9817: libavutil/eval.c "double" error comparison is equal to
--------------------------------+--------------------------------------
             Reporter:  张文兵  |                     Type:  defect
               Status:  new     |                 Priority:  important
            Component:  avutil  |                  Version:  git-master
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+--------------------------------------
 libavutil/eval.c
 func eval_expr


 {{{
         case e_between: {
             double d = eval_expr(p, e->param[0]);
             return e->value * (d >= eval_expr(p, e->param[1]) &&
                                d <= eval_expr(p, e->param[2]));
         }

 ......
                 case e_eq:  return e->value * (d == d2 ? 1.0 : 0.0);
                 case e_gte: return e->value * (d >= d2 ? 1.0 : 0.0);
                 case e_lte: return e->value * (d <= d2 ? 1.0 : 0.0);
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9817>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to