On Thu, Jul 18, 2019 at 9:17 PM Ulf Zibis <ulf.zi...@cosoco.de> wrote: > > > Am 17.07.19 um 10:12 schrieb Hendrik Leppkes: > > ..., the macro was defined the way it is, and changing it now has a > > chance of breaking > > random places that rely on the current behavior. > > OK, that would be risky. > > Maybe we could add another macro FFSGN. Then maintainers of individual > code parts could check the usage over the time. > > #define FFSGN(a) ((a) > 0 ? 1 : (a) < 0 ? -1 : 0) >
Unless something inside FFmpeg needs such a behavior, that is unlikely. - Hendrik _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".