+#include <stdbool.h>
Not sure this header can be used every enveriment. Or what about use
#define TRUE 1
#define FALSE 0
> ?

You are right, this is C99.

I'd rather not define a custom boolean type just for this, it would be better if FFmpeg had something like FF_TRUE/FF_FALSE.

fftools/ffmpeg_opt.c seems to use int, 0 and 1 for flags.
Not very clean, but I can use that if it's ok for you?

_______________________________________________
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".

Reply via email to