Skip to content

Commit

Permalink
Merge pull request KrumpetPirate#156 from Nicko98/master
Browse files Browse the repository at this point in the history
 Fix for issue KrumpetPirate#155
  • Loading branch information
KrumpetPirate authored Feb 26, 2021
2 parents b5d47f2 + 2269f34 commit ee4a031
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 ee4a031

Please sign in to comment.