[FFmpeg-devel] Colorspace conversion patch causing strange build error
Michael Niedermayer
michaelni at gmx.at
Fri Jul 12 03:56:24 CEST 2013
On Tue, Jul 09, 2013 at 09:43:56PM +0000, Umar Qureshey wrote:
> Hi,
> I am working on adding colorspace conversion using hardware in the freescale i.MX6 SoCs. As a preliminary, I have made the following very minor changes in ffmpeg/libswscale:
>
[...]
> CC libswscale/input.o
> libswscale/input.c: In function 'rgb16_32ToY_c_template':
> libswscale/input.c:267:1: error: expected identifier before 'unsigned'
> libswscale/input.c: In function 'rgb16_32ToUV_c_template':
> libswscale/input.c:294:1: error: expected identifier before 'unsigned'
> libswscale/input.c: In function 'rgb16_32ToUV_half_c_template':
> libswscale/input.c:326:1: error: expected identifier before 'unsigned'
> libswscale/input.c:327:1: error: expected identifier before 'unsigned'
> make[1]: *** [libswscale/input.o] Error 1
> make[1]: Leaving directory `/mnt/veriton/umar/umar_stuff/MPlayer-latest-svn/mplayer/ffmpeg'
> make: *** [ffmpeg/libswscale/libswscale.a] Error 2
>
> I have looked at the offending lines of code and I don't see any issues. My guess is that something having to do with the variadic defines in input.c is screwing things up.
in the unlikely case that you havnt solved this yet, looking at the
preprocessed output that the compiler fails to compile should help
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130712/0f30552e/attachment.asc>
More information about the ffmpeg-devel
mailing list