Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
Fix for issue #155
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicko98 authored Feb 25, 2021
1 parent 9058cf1 commit a68353f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AAXtoMP3
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ do
#ffmpeg version 4+ and on the output for all older versions.
split_input=""
split_output=""
if [ "$(($(ffmpeg -version | head -1 | cut -d \ -f 3 | cut -d . -f 1) > 3))" = "1" ]; then
if [ "$(($(ffmpeg -version | sed -E 's/[^0-9]*([0-9]).*/\1/g;1q') > 3))" = "1" ]; then
split_input="-ss ${chapter_start%?} -to ${chapter_end}"
else
split_output="-ss ${chapter_start%?} -to ${chapter_end}"
Expand Down

0 comments on commit a68353f

Please sign in to comment.