[Ffmpeg-devel] [PATCH] [Visibility] libpostproc public functions

Michael Niedermayer michaelni
Tue Sep 19 02:24:00 CEST 2006


Hi

On Tue, Sep 19, 2006 at 02:10:58AM +0200, Diego 'Flameeyes' Petten? wrote:
> Okay, let's start with the splitted patches to put the exported functions as 
> default visibility.
> 
> The attached patch puts the EXPORTED (default visibility) tag on postprocess.h 
> from libpostproc.
> 
> -- 
> Diego "Flameeyes" Petten? - http://farragut.flameeyes.is-a-geek.org/
> Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

> Index: libpostproc/postprocess.h
> ===================================================================
> --- libpostproc/postprocess.h	(revision 6289)
> +++ libpostproc/postprocess.h	(working copy)
> @@ -19,6 +19,14 @@
>  #ifndef NEWPOSTPROCESS_H
>  #define NEWPOSTPROCESS_H
>  
> +#ifndef EXPORTED
> +# if __GNUC__ >= 4
> +#  define EXPORTED __attribute__((visibility("default")))

why not protected?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list