[FFmpeg-devel] [PATCH] silence a warning in spdif.c on big-endian
Måns Rullgård
mans
Mon Jul 12 20:59:34 CEST 2010
Diego Biurrun <diego at biurrun.de> writes:
> bswap_buf16 is only used on little-endian.
>
> Diego
>
> Index: libavformat/spdif.c
> ===================================================================
> --- libavformat/spdif.c (revision 24213)
> +++ libavformat/spdif.c (working copy)
> @@ -85,7 +85,7 @@
> } IEC958Context;
>
> //TODO move to DSP
^^^^^^^^^^^^^^^^^^^^^
> -static void bswap_buf16(uint16_t *dst, const uint16_t *src, int w)
> +static void av_unused bswap_buf16(uint16_t *dst, const uint16_t *src, int w)
Leave this as a reminder.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list