summaryrefslogtreecommitdiff
path: root/src/dxr3/ffmpeg_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dxr3/ffmpeg_encoder.c')
-rw-r--r--src/dxr3/ffmpeg_encoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dxr3/ffmpeg_encoder.c b/src/dxr3/ffmpeg_encoder.c
index 2181dd543..4b444a3bc 100644
--- a/src/dxr3/ffmpeg_encoder.c
+++ b/src/dxr3/ffmpeg_encoder.c
@@ -44,6 +44,8 @@
# include <libavcodec/avcodec.h>
#endif
+#include "../combined/ffmpeg/ffmpeg_compat.h"
+
/* buffer size for encoded mpeg1 stream; will hold one intra frame
* at 640x480 typical sizes are <50 kB. 512 kB should be plenty */
#define DEFAULT_BUFFER_SIZE 512*1024