Skip to content

feat: refactor ffmpeg-static special case#586

Merged
styfle merged 3 commits into
mainfrom
styfle/ffmpeg-static-simplify
May 22, 2026
Merged

feat: refactor ffmpeg-static special case#586
styfle merged 3 commits into
mainfrom
styfle/ffmpeg-static-simplify

Conversation

@styfle
Copy link
Copy Markdown
Member

@styfle styfle commented May 22, 2026

Previously, this code would do a dynamic require but now it does static analysis on the possible output files.

I had a clanker go through all possible outputs from all versions to come up with this list.

Then I simplified it into the two fs calls here.

image

@styfle styfle marked this pull request as ready for review May 22, 2026 17:24
@styfle styfle requested review from a team, icyJoseph and ijjk as code owners May 22, 2026 17:24
@styfle styfle requested a review from mischnic May 22, 2026 17:24
@styfle
Copy link
Copy Markdown
Member Author

styfle commented May 22, 2026

Note - I marked this as feat: instead of fix: since there might be some risk in this change - the code is quite dynamic and its possible something was missed.

@styfle styfle enabled auto-merge (squash) May 22, 2026 17:32
@styfle styfle merged commit 3ea4433 into main May 22, 2026
15 checks passed
@styfle styfle deleted the styfle/ffmpeg-static-simplify branch May 22, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants