#!/bin/bash
+set -e
+set -u
-{
- set -e
- set -u
+function __init_ffmpeg() {
##################
# Install ffmpeg #
# ...
# This trims it down to just the version number:
# 4.3.1
- echo $(ffmpeg -version 2>/dev/null | head -n 1 | cut -d ' ' -f 3)
+ echo $(ffmpeg -version 2> /dev/null | head -n 1 | cut -d ' ' -f 3)
}
}
+
+__init_ffmpeg