summaryrefslogtreecommitdiff
path: root/src/combined/ffmpeg/ffmpeg_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/combined/ffmpeg/ffmpeg_compat.h')
-rw-r--r--src/combined/ffmpeg/ffmpeg_compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/combined/ffmpeg/ffmpeg_compat.h b/src/combined/ffmpeg/ffmpeg_compat.h
index 7433f7646..fc338cb75 100644
--- a/src/combined/ffmpeg/ffmpeg_compat.h
+++ b/src/combined/ffmpeg/ffmpeg_compat.h
@@ -153,4 +153,8 @@
# define avcodec_get_edge_width() (16)
#endif
+#if LIBAVCODEC_VERSION_INT >= ((55<<16)|100)
+# define AV_BUFFER 1
+#endif
+
#endif /* XINE_AVCODEC_COMPAT_H */