Libavutil PixelFormat C-style macro conflicts with bob daq PixelFormat enum
Created by: laurentes
This bug was initially reported on macports. The problem has occured after a libavutil update on macports, which now defines a C macro PixelFormat in /opt/local/include/libavutil/pixfmt.h:307:21
#define PixelFormat AVPixelFormat
As the macro seems to be used in src/io/cxx/VideoUtilities.cc, we can't undefine it just after the inclusion of the libavutil header. One solution would be to undefine it in the fundamental headers of the DAQ submodule, include/bob/daq/Camera.h and include/bob/daq/Controller.h