[FFmpeg-devel] [PATCH]lavc/sbc: Remove bool usage

Kieran Kunhya kierank at obe.tv
Thu Apr 2 16:27:58 EEST 2020


On Thu, 2 Apr 2020 at 14:24, Paul B Mahol <onemda at gmail.com> wrote:

> On 4/2/20, Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:
> > On 02/04/2020 10:41, Paul B Mahol wrote:
> >> I do not care, bool is evil and should never be used.
> >
> > Why? 'We don't like it' isn't a technical reason.
> >
> > Also, FFmpeg already uses plenty of C99 features and thus
> > requires a C99 compiler. What is so inherently evil about a boolean
> > type that it must not be allowed, but other C99 features are?
> >
> > I am curious what compilers support all the C99 features used that
> > do not support stdbool.h, and are still actually used (even by 2 people).
>
> No code in FFmpeg use it.
> And it was disallowed before and should be now.
>

https://en.wikipedia.org/wiki/Appeal_to_tradition

Kieran


More information about the ffmpeg-devel mailing list