Index: head/graphics/openimageio/files/patch-src_ffmpeg.imageio_ffmpeginput.cpp =================================================================== --- head/graphics/openimageio/files/patch-src_ffmpeg.imageio_ffmpeginput.cpp (nonexistent) +++ head/graphics/openimageio/files/patch-src_ffmpeg.imageio_ffmpeginput.cpp (revision 468158) @@ -0,0 +1,20 @@ +https://github.com/OpenImageIO/oiio/pull/1926 + +--- src/ffmpeg.imageio/ffmpeginput.cpp.orig 2017-08-31 04:36:04 UTC ++++ src/ffmpeg.imageio/ffmpeginput.cpp +@@ -124,6 +124,15 @@ inline int receive_frame(AVCodecContext *avctx, AVFram + } + #endif + ++ ++// Changes for ffmpeg 4.0 ++#define USE_FFMPEG_4_0 (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(58, 18, 100)) ++ ++#if USE_FFMPEG_4_0 ++# define CODEC_CAP_DELAY AV_CODEC_CAP_DELAY ++#endif ++ ++ + #include + + #include "OpenImageIO/imageio.h" Property changes on: head/graphics/openimageio/files/patch-src_ffmpeg.imageio_ffmpeginput.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property