[FFmpeg-trac] #4216(avutil:new): #define PixelFormat AVPixelFormat breaks user code
FFmpeg
trac at avcodec.org
Wed Dec 31 10:48:38 CET 2014
#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
More information about the FFmpeg-trac
mailing list