#4216: #define PixelFormat AVPixelFormat breaks user code
--------------------------------------+----------------------------------
Reporter: kivalaatikko | Type: defect
Status: new | Priority: normal
Component: avutil | Version: 2.5.2
Keywords: PixelFormat | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
In avutil/pixfmt.h
{{{
#define PixelFormat AVPixelFormat
}}}
prevents users from using the word "PixelFormat" anywhere in their own
code, even if in namespaces.
Probably fixable by changing to typedef instead.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4216>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac