summaryrefslogtreecommitdiffstats
path: root/dec_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'dec_video.c')
-rw-r--r--dec_video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dec_video.c b/dec_video.c
index e7c340e7a4..f408fe1698 100644
--- a/dec_video.c
+++ b/dec_video.c
@@ -51,7 +51,11 @@ extern picture_t *picture; // exported from libmpeg2/decode.c
#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;
static AVPicture lavc_picture;