[FFmpeg-devel] [PATCH] make prototype visible in idct_xvid_sse2

Jindrich Makovicka makovick
Wed Jul 9 19:29:03 CEST 2008


On Tue, 8 Jul 2008 17:35:53 -0400
Alexander Strange <astrange at ithinksw.com> wrote:

> C99 allows inline functions to be omitted if there's no other non- 
> inline declaration for them, and ff_idct_xvid_sse2 is both inlined
> and used in other files, so the prototype has to be visible.
> 
> Well, I'm not sure which compilers use C99 inline and support gcc
> asm, but someday there might be one.
 
At least gcc 4.3.1. For me, MPlayer is currently impossible to build
without this patch (or declaring the above function as extern inline).

-- 
Jindrich Makovicka




More information about the ffmpeg-devel mailing list