slyfox1186 / ffmpeg-build-script

The FFmpeg build script build's the most up to date version of FFmpeg by using API calls to download the latest source code available.
GNU General Public License v3.0
45 stars 9 forks source link

Does Not Run with Command Given #35

Closed kpirnie closed 3 months ago

kpirnie commented 3 months ago

bash build-ffmpeg.sh --build -compiler=clang -j 8 -l -n Simply displays the help

Ubuntu 24.04

kpirnie commented 3 months ago

image

slyfox1186 commented 3 months ago

The issue is with the shift command at the end of the while loop that starts around line 565. It unconditionally shifts the arguments by 1 position in each iteration, regardless of whether an argument was consumed or not. This causes the script to incorrectly parse the arguments and eventually fall into the *) case, which displays the usage information and exits.

A new version of the script was just released to fix this issue.

If you have other problems let me know.

I will mark this as closed.