summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c
index 80ea35f6a6..4caed3bd03 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -74,7 +74,13 @@
#ifdef USE_LIBAVCODEC
// for lavc audio encoding
+
+#ifdef USE_LIBAVCODEC_SO
+#include <ffmpeg/avcodec.h>
+#else
#include "libavcodec/avcodec.h"
+#endif
+
static AVCodec *lavc_acodec;
static AVCodecContext *lavc_actx = NULL;
extern char *lavc_param_acodec;