Permalink
Browse files

[ffmpeg/libavutil] - fix compilation when using external ffmpeg/libav…

… after e064049 - fixes #13096
  • Loading branch information...
1 parent 4ec793f commit 7d363cd3415ee38bb6c3024249252f4b8f9c1713 @Memphiz Memphiz committed Jun 11, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/DllAvUtil.h
View
@@ -36,12 +36,16 @@ extern "C" {
#if (defined USE_EXTERNAL_FFMPEG)
#if (defined HAVE_LIBAVUTIL_AVUTIL_H)
#include <libavutil/avutil.h>
+ // for av_get_default_channel_layout
+ #include <libavutil/audioconvert.h>
#include <libavutil/crc.h>
#include <libavutil/fifo.h>
// for LIBAVCODEC_VERSION_INT:
#include <libavcodec/avcodec.h>
#elif (defined HAVE_FFMPEG_AVUTIL_H)
#include <ffmpeg/avutil.h>
+ // for av_get_default_channel_layout
+ #include <ffmpeg/audioconvert.h>
#include <ffmpeg/crc.h>
#include <ffmpeg/fifo.h>
// for LIBAVCODEC_VERSION_INT:
@@ -64,6 +68,7 @@ extern "C" {
#endif
#else
#include "libavutil/avutil.h"
+ //for av_get_default_channel_layout
#include "libavutil/audioconvert.h"
#include "libavutil/crc.h"
#include "libavutil/opt.h"

0 comments on commit 7d363cd

Please sign in to comment.