From 70683b891672aba401c111e4afc599ca230d7314 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Tue, 29 Nov 2022 11:16:57 -0800 Subject: ffmpeg: increase minimum required version to 4.4 Now that 0.35 has been released, we can consider increasing our minimum required ffmpeg version. Currently, we think 4.4 is the most recent version we can move to (from the current requirement of 4.0). This allows us to remove a few conditionals. There are more that we won't be able to remove unless we move further up to 5.1. --- video/mp_image.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video') diff --git a/video/mp_image.c b/video/mp_image.c index 52c3f751f2..533061465d 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -1026,11 +1026,9 @@ struct mp_image *mp_image_from_av_frame(struct AVFrame *src) } #endif -#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(56, 61, 100) sd = av_frame_get_side_data(src, AV_FRAME_DATA_FILM_GRAIN_PARAMS); if (sd) dst->film_grain = sd->buf; -#endif for (int n = 0; n < src->nb_side_data; n++) { sd = src->side_data[n]; -- cgit v1.2.3