diff options
author | Philip Langdale <philipl@overt.org> | 2022-11-29 11:16:57 -0800 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2022-12-01 10:45:47 -0800 |
commit | 70683b891672aba401c111e4afc599ca230d7314 (patch) | |
tree | 68a6cf5f899498c9cf0081b7278a61f9ec786c9b /video/mp_image.c | |
parent | 11229e7f7177220dd1607625a3a1bfc9d34a5f51 (diff) | |
download | mpv-70683b891672aba401c111e4afc599ca230d7314.tar.bz2 mpv-70683b891672aba401c111e4afc599ca230d7314.tar.xz |
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.
Diffstat (limited to 'video/mp_image.c')
-rw-r--r-- | video/mp_image.c | 2 |
1 files changed, 0 insertions, 2 deletions
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]; |