diff --git a/test/meson.build b/test/meson.build index 7c1a87ff17..9a0daf687c 100644 --- a/test/meson.build +++ b/test/meson.build @@ -135,9 +135,9 @@ endif # Supported libavutil versions that work with these tests. # Will need to be manually updated when ffmpeg adds/removes more formats in the future. -if libavutil.version().version_compare('>= 59.0.100') +if libavutil.version().version_compare('>= 59.0.100') and libavutil.version().version_compare('<= 59.39.100') refdir = join_paths(source_root, 'test', 'ref', 'ffmpeg7') -elif libavutil.version().version_compare('>= 58.27.100') +elif libavutil.version().version_compare('>= 58.27.100') and libavutil.version().version_compare('< 59.0.100') refdir = join_paths(source_root, 'test', 'ref', 'ffmpeg6') endif