On 12/12/13 22:06, Derek Buitenhuis wrote: > On 12/12/2013 7:53 PM, Luca Barbato wrote: >> And remove all the circular inclusions of avutil.h while at it. >> --- >> >> Hopefully I hadn't forgot anything, the macros still in avutil.h could be >> (re)moved somewhere else, Derek I hope it works for your purposes. > > The concept itself is OK to me. > >> diff --git a/libavutil/error.h b/libavutil/error.h >> index 3dfd880..268a032 100644 >> --- a/libavutil/error.h >> +++ b/libavutil/error.h >> @@ -26,7 +26,6 @@ >> >> #include <errno.h> >> #include <stddef.h> >> -#include "avutil.h" > > Why is this only removed?
version got the include replaced with macro.h > > >> diff --git a/libavutil/macros.h b/libavutil/macros.h >> new file mode 100644 >> index 0000000..8bf325a >> --- /dev/null >> +++ b/libavutil/macros.h > > Seems a tad generic. better naming welcome. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
