Various more hacks; basically trying to remove Regions as an unnecessary complexity.
[dcpomatic.git] / src / lib / ffmpeg_compatibility.h
index 7aaae92e2a53e9d23c6a83f4dfa2ea976a93fe72..772d22c33f598433bc16c0275c8f0944d3857016 100644 (file)
 
 */
 
+struct AVFilterInOut;
+
 extern AVFilter* get_sink ();
 extern AVFilterInOut* avfilter_inout_alloc ();
 
+#ifndef HAVE_AV_PIXEL_FORMAT
+#define AVPixelFormat PixelFormat
+#endif
+
+#ifndef HAVE_AV_FRAME_GET_BEST_EFFORT_TIMESTAMP
+extern int64_t av_frame_get_best_effort_timestamp (AVFrame const *);
+#endif