Signed-off-by: David Heidelberger --- diff -Naur a/examples/common/alffmpeg.c b/examples/common/alffmpeg.c --- a/examples/common/alffmpeg.c 2012-12-11 21:35:55.000000000 +0100 +++ b/examples/common/alffmpeg.c 2013-11-23 17:04:25.500015929 +0100 @@ -38,6 +38,13 @@ #include "alhelpers.h" #include "alffmpeg.h" +#if LIBAVCODEC_VERSION_MAJOR > 54 +#include "libavutil/channel_layout.h" +#elif LIBAVCODEC_VERSION_MAJOR == 54 +#if LIBAVCODEC_VERSION_MINOR > 32 +#include "libavutil/channel_layout.h" +#endif +#endif static size_t NextPowerOf2(size_t value) {