summaryrefslogtreecommitdiffstats
path: root/dec_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'dec_audio.c')
-rw-r--r--dec_audio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dec_audio.c b/dec_audio.c
index 5748cd512d..328784558d 100644
--- a/dec_audio.c
+++ b/dec_audio.c
@@ -59,7 +59,11 @@ typedef struct ov_struct_st {
#endif
#ifdef USE_LIBAVCODEC
+#ifdef USE_LIBAVCODEC_SO
+#include <libffmpeg/avcodec.h>
+#else
#include "libavcodec/avcodec.h"
+#endif
static AVCodec *lavc_codec=NULL;
static AVCodecContext lavc_context;
extern int avcodec_inited;