Re: [FFmpeg-devel] [PATCH] define AVPixelFormat aliases as enumerators instead of macros

2016-01-15 Thread Richard Smith
On Fri Jan 15 08:51:07 CET 2016 wm4 wrote; > On Thu, 14 Jan 2016 13:58:14 -0800 Richard Smith > wrote: > > libavutil/pixfmt.h defines a collection of endian-specific pixel formats as > > macros. These macro names can cause conflicts with external projects that > > u

[FFmpeg-devel] [PATCH] define AVPixelFormat aliases as enumerators instead of macros

2016-01-14 Thread Richard Smith
libavutil/pixfmt.h defines a collection of endian-specific pixel formats as macros. These macro names can cause conflicts with external projects that use those identifiers for their own purposes. Here's a patch to define these aliases as enumerators instead of macros, please consider merging: htt