[FFmpeg-devel] [PATCH] Explicitely declare {dst,src}Formatsws_get*Context() params as enum PixelFormat

Carl Eugen Hoyos cehoyos
Tue Feb 10 00:29:30 CET 2009


Art Clarke <aclarke <at> xuggle.com> writes:

> On Mon, Feb 9, 2009 at 12:59 AM, Carl Eugen Hoyos <cehoyos <at> ag.or.at> wrote
> > Out of curiosity: With which compiler?
> >
> > Carl Eugen
> >
> gcc -v

[...]

> gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)

I tried the following:
svn up
Changed all PIX_FMT constants in calls to sws_getContext in swscale-example into
ints or variables declared as int.
Compiled swscale-example with gcc 4.3.2 vanilla
-> No errors, no additional warnings

Sorry, I don't understand the problem with the patch (that is correct anyway,
imo, the code was buggy before) and I believe it should not be reverted.

Carl Eugen






More information about the ffmpeg-devel mailing list