[gegl] operations/external/ff-save: ffmpeg-2.3-2.7 compat; minimum lav{f,c} versions configure.ac mandates



commit a2dd56d3200aeafdecbc40c58eeef3d43a5fadcc
Author: Franz Brausse <brausse informatik uni-trier de>
Date:   Sun May 6 13:40:30 2018 +0200

    operations/external/ff-save: ffmpeg-2.3-2.7 compat; minimum lav{f,c} versions configure.ac mandates

 operations/external/ff-save.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/external/ff-save.c b/operations/external/ff-save.c
index e7edd3e..1edac31 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -91,6 +91,8 @@ property_int (me_subpel_quality, _("me-subpel-quality"), 0)
 /* remove if libavcodec_required_version is changed to > 56.41.100 */
 #if LIBAVCODEC_VERSION_INT <= AV_VERSION_INT(56,41,100)
 # define AV_CODEC_FLAG_GLOBAL_HEADER   CODEC_FLAG_GLOBAL_HEADER
+# define AV_CODEC_CAP_VARIABLE_FRAME_SIZE      CODEC_CAP_VARIABLE_FRAME_SIZE
+# define AV_CODEC_CAP_INTRA_ONLY       CODEC_CAP_INTRA_ONLY
 #endif
 
 typedef struct


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]