[FFmpeg-devel] [PATCH v11] - Added Turing codec interface for ffmpeg

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Jun 29 23:26:47 EEST 2017


On 6/29/2017 9:09 PM, wm4 wrote:
> On Thu, 29 Jun 2017 20:45:10 +0100
> Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:
> 
>> Keep in mind that C99 bool and C++
>> bool are not compatible.                                                               
> 
> (Actually they are.)

Source? Because, from e.g. glibc:

    /* Supporting <stdbool.h> in C++ is a GCC extension.  */

And AFAICT, there is *nothing* that guarantees C99's _Bool matches
C++'s bool in size or alignment. It's compiler and ABI dependent
and just happens to work with GCC/G++, no?

- Derek


More information about the ffmpeg-devel mailing list