[MPlayer-cvslog] r31584 - trunk/libmpcodecs/vd_ffmpeg.c
Diego Biurrun
diego at biurrun.de
Mon Jun 28 22:45:31 CEST 2010
On Mon, Jun 28, 2010 at 10:18:05PM +0200, Michael Niedermayer wrote:
> On Mon, Jun 28, 2010 at 06:54:28PM +0200, diego wrote:
> >
> > Log:
> > Place swap_palette declaration under the same #ifdef as its usage; fixes:
> > libmpcodecs/vd_ffmpeg.c:784: warning: 'swap_palette' defined but not used
> >
> > --- trunk/libmpcodecs/vd_ffmpeg.c Mon Jun 28 18:45:47 2010 (r31583)
> > +++ trunk/libmpcodecs/vd_ffmpeg.c Mon Jun 28 18:54:27 2010 (r31584)
> > @@ -780,6 +780,7 @@ typedef struct dp_hdr_s {
> >
> > +#if HAVE_BIGENDIAN
> > static void swap_palette(void *pal)
> > {
> > int i;
>
> please use av_unused or inline
Why?
Diego
More information about the MPlayer-cvslog
mailing list