Fix ffmpeg git branch/tag release names

The ffmpeg project changed their branch/tag naming structure. There is now a
branch for the major.minor version using the old naming scheme
(release/major.minor) and a tag called n{major}.{minor}[.{patch}].

This change broke the static builds which checked out no-longer-existing ffmpeg
branches with their old name.
This commit is contained in:
Mahmoud Al-Qudsi 2023-02-03 15:44:00 -06:00 committed by Josh Holmer
parent ed9703b739
commit 2cf12148f9

View File

@ -165,7 +165,7 @@ fn fetch() -> io::Result<()> {
.arg("clone")
.arg("--depth=1")
.arg("-b")
.arg(format!("release/{}", ffmpeg_version()))
.arg(format!("n{}", ffmpeg_version()))
.arg("https://github.com/FFmpeg/FFmpeg")
.arg(&clone_dest_dir)
.status()?;