summaryrefslogtreecommitdiff
path: root/ext/ffmpeg/gstffmpegdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ffmpeg/gstffmpegdec.h')
-rw-r--r--ext/ffmpeg/gstffmpegdec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/ffmpeg/gstffmpegdec.h b/ext/ffmpeg/gstffmpegdec.h
index 5109caa6df..246123d052 100644
--- a/ext/ffmpeg/gstffmpegdec.h
+++ b/ext/ffmpeg/gstffmpegdec.h
@@ -29,6 +29,10 @@ extern "C" {
#ifndef __GST_FFMPEG_AV_H__
#define __GST_FFMPEG_AV_H__
+#undef ABS
+#undef MAX
+#undef MIN
+#include <assert.h>
#include <libavcodec/avcodec.h>
#endif /* __GST_FFMPEG_AV_H__ */