Le tiistaina 16. heinäkuuta 2024, 18.10.28 EEST James Almer a écrit : > No, because -1 is allowed for AV_OPT_TYPE_BOOL, which is used as > "undefined" in plenty of options. > And we don't use bool type anywhere as it's not really portable, or at > least didn't use to. Dunno the current state ever since we moved to c11.
stdbool.h is mandatory in C11. Using booleans is generally better since it enables better inference for optimisation and diagnostic passes. -- Rémi Denis-Courmont http://www.remlab.net/ _______________________________________________ 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".