[FFmpeg-devel] [PATCH] avformat/dashdec: Differentiate unassigned and zero attributes
Gregor Riepl
onitake at gmail.com
Tue Oct 18 09:57:10 EEST 2022
>> +#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?
More information about the ffmpeg-devel
mailing list