Skip to content

Commit 931b6a2

Browse files
cfsmp3claude
andcommitted
Use FFmpeg 7 with prebuilt bindings for Linux
Use ffmpeg7 feature everywhere and use_prebuilt_binding for Linux to ensure FFmpeg 7 API signatures regardless of system FFmpeg version. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent ae2d627 commit 931b6a2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/rust/Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@ lib_ccxr = { path = "lib_ccxr" }
2626
url = "2.5.4"
2727
encoding_rs = "0.8.5"
2828

29-
# Use CCExtractor's forked rsmpeg
30-
# - Linux: FFmpeg 6 from apt packages
31-
# - Windows: FFmpeg 7 from vcpkg
32-
# - macOS: FFmpeg 7 from Homebrew
29+
# Use CCExtractor's forked rsmpeg with FFmpeg 7
30+
# All platforms use ffmpeg7 feature with prebuilt bindings for API consistency
3331
[target.'cfg(target_os = "linux")'.dependencies]
34-
rsmpeg = { git = "https://github.com/CCExtractor/rsmpeg.git", default-features = false, features = ["ffmpeg6", "link_system_ffmpeg"], optional = true }
32+
rsmpeg = { git = "https://github.com/CCExtractor/rsmpeg.git", default-features = false, features = ["ffmpeg7", "link_system_ffmpeg", "use_prebuilt_binding"], optional = true }
3533

3634
[target.'cfg(target_os = "windows")'.dependencies]
3735
rsmpeg = { git = "https://github.com/CCExtractor/rsmpeg.git", default-features = false, features = ["ffmpeg7", "link_vcpkg_ffmpeg"], optional = true }

0 commit comments

Comments
 (0)