[MPlayer-cvslog] r31584 - trunk/libmpcodecs/vd_ffmpeg.c

Michael Niedermayer michaelni at gmx.at
Mon Jun 28 22:18:05 CEST 2010


On Mon, Jun 28, 2010 at 06:54:28PM +0200, diego wrote:
> Author: diego
> Date: Mon Jun 28 18:54:27 2010
> New Revision: 31584
> 
> 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
> 
> Modified:
>    trunk/libmpcodecs/vd_ffmpeg.c
> 
> Modified: trunk/libmpcodecs/vd_ffmpeg.c
> ==============================================================================
> --- 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 {
>      uint32_t chunktab;        // offset to chunk offset array
>  } dp_hdr_t;
>  
> +#if HAVE_BIGENDIAN
>  static void swap_palette(void *pal)
>  {
>      int i;

please use av_unused or inline

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

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20100628/f3b7faeb/attachment-0001.pgp>


More information about the MPlayer-cvslog mailing list