From: Niklas Haas <[email protected]> This is done for consistency with the other public enums which will be added in the upcoming swscale API refactor. I went through the code and checked carefully that the value of `dither` is never implicitly compared against zero, so this change should not break anything.
Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas <[email protected]> --- libswscale/swscale_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 57e7515582..963879cf9a 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -67,8 +67,8 @@ struct SwsContext; typedef enum SwsDither { - SWS_DITHER_NONE = 0, - SWS_DITHER_AUTO, + SWS_DITHER_AUTO = 0, + SWS_DITHER_NONE, SWS_DITHER_BAYER, SWS_DITHER_ED, SWS_DITHER_A_DITHER, -- 2.46.1 _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
