#9595: av_add_q(0/-1, -1/0) returns 1/0
-------------------------------------+-----------------------------------
Reporter: namniav | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component: avutil
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Changes (by Nicolas George):
* status: new => closed
* resolution: => invalid
Comment:
1. The doc says `Add two rationals.`, neither +∞ nor -∞ are rationals.
2. Anyway, integer 0 does not have a sign, so -1/0 is the same as -1/-0,
i.e. 1/0.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9595#comment:2>
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".