[FFmpeg-devel] [PATCH] mpeg12: fix non-standard use of "extern inline"

Uoti Urpala uoti.urpala
Sat May 16 20:41:24 CEST 2009

On Sat, 2009-05-16 at 21:35 +0300, Uoti Urpala wrote:
> On Sat, 2009-05-16 at 19:09 +0100, M?ns Rullg?rd wrote:
> >   We are relying on the gcc behaviour here.  A
> > strictly conforming C99 compiler will not compile that code.
> I think the result is that it compiles, but there is then a definition
> of the same function in two files and it's up to the linker how it
> handles that.

I got confused about that part - obviously there can be no two
definitions when there no definition except in one translation unit, and
a compiler can diagnose the error that there is an inline function
declaration with no function definition in the other translation units.
I think the rest of that message should still be correct.

More information about the ffmpeg-devel mailing list