Commit bdbaf09
Add use_prebuilt_binding feature for consistent FFmpeg 7 API
When the system FFmpeg version doesn't match the expected API
(e.g., Ubuntu has FFmpeg 6 but rsmpeg needs FFmpeg 7 signatures),
the dynamically generated bindings will have incorrect function
signatures like *mut u8 instead of *const u8 for write_packet.
This feature allows using the prebuilt binding from src/binding.rs
which has correct FFmpeg 7 API signatures, ensuring consistent
behavior across all platforms regardless of system FFmpeg version.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent af91025 commit bdbaf09
2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
587 | 596 | | |
588 | 597 | | |
589 | 598 | | |
| |||
594 | 603 | | |
595 | 604 | | |
596 | 605 | | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
597 | 611 | | |
0 commit comments