[FFmpeg-devel] [PATCH] add some av_unused attributes
Janne Grunau
janne-ffmpeg
Mon May 24 00:04:15 CEST 2010
On Thu, Apr 29, 2010 at 02:57:26AM +0200, Janne Grunau wrote:
> On Thu, Apr 29, 2010 at 01:00:20AM +0100, M?ns Rullg?rd wrote:
> > Janne Grunau <janne-ffmpeg at jannau.net> writes:
> >
> > > Defining av_always_inline as av_unused might be the least contorversial
> > > solution.
> >
> > That would certainly be better.
>
> see attached patch
> diff --git a/configure b/configure
> index 00e1bbb..4c5ace2 100755
> --- a/configure
> +++ b/configure
> @@ -3060,7 +3060,7 @@ test -n "$malloc_prefix" &&
>
> if enabled small || disabled optimizations; then
> echo "#undef av_always_inline" >> $TMPH
> - echo "#define av_always_inline" >> $TMPH
> + echo "#define av_always_inline av_unused" >> $TMPH
> fi
>
> print_config ARCH_ $TMPH config.mak $ARCH_LIST
ping2
More information about the ffmpeg-devel
mailing list