On Mon, Apr 11, 2011 at 11:26:16AM +0200, Kostya wrote: > On Mon, Apr 11, 2011 at 11:07:39AM +0200, Luca Barbato wrote: > > With this commit we should have all the arch specific code moved away. > > Init pattern now: > > - generic C init first > > - arch specific init later overwriting > > > > --- /dev/null > > +++ b/libswscale/x86/rgb2rgb.c > > +void rgb2rgb_init_x86(int flags); > > is that requirement by modern GCC to declare function before its > implementation in the same file?
It is a requirement of modern FFmpeg configure which adds -Werror=implicit-declaration to CFLAGS. The declaration should go in a header file instead. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
