Fix IFS unset
This commit is contained in:
parent
8f47ebabed
commit
8c2aa0f375
|
@ -13,7 +13,8 @@ M_DATE="100223"
|
|||
ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1)
|
||||
IFS="abcdefghijklmnopqrstyvwxzABCDEFHIJKLMNOPQRSTYVWXZ@/()"
|
||||
ffmpeg_version=$(echo ${ffmpeg_version})
|
||||
IFS=""
|
||||
IFS=$' \t\n'
|
||||
unset IFS
|
||||
if [ -z "${ffmpeg_version}" ] ; then
|
||||
video_sync="vsync"
|
||||
else
|
||||
|
|
|
@ -13,7 +13,8 @@ M_DATE="100223"
|
|||
ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1)
|
||||
IFS="abcdefghijklmnopqrstyvwxzABCDEFHIJKLMNOPQRSTYVWXZ@/()"
|
||||
ffmpeg_version=$(echo ${ffmpeg_version})
|
||||
IFS=""
|
||||
IFS=$' \t\n'
|
||||
unset IFS
|
||||
if [ -z "${ffmpeg_version}" ] ; then
|
||||
video_sync="vsync"
|
||||
else
|
||||
|
|
|
@ -13,7 +13,8 @@ M_DATE="100223"
|
|||
ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1)
|
||||
IFS="abcdefghijklmnopqrstyvwxzABCDEFHIJKLMNOPQRSTYVWXZ@/()"
|
||||
ffmpeg_version=$(echo ${ffmpeg_version})
|
||||
IFS=""
|
||||
IFS=$' \t\n'
|
||||
unset IFS
|
||||
if [ -z "${ffmpeg_version}" ] ; then
|
||||
video_sync="vsync"
|
||||
else
|
||||
|
|
|
@ -13,7 +13,8 @@ M_DATE="100223"
|
|||
ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1)
|
||||
IFS="abcdefghijklmnopqrstyvwxzABCDEFHIJKLMNOPQRSTYVWXZ@/()"
|
||||
ffmpeg_version=$(echo ${ffmpeg_version})
|
||||
IFS=""
|
||||
IFS=$' \t\n'
|
||||
unset IFS
|
||||
if [ -z "${ffmpeg_version}" ] ; then
|
||||
video_sync="vsync"
|
||||
else
|
||||
|
|
|
@ -13,7 +13,8 @@ M_DATE="100223"
|
|||
ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1)
|
||||
IFS="abcdefghijklmnopqrstyvwxzABCDEFHIJKLMNOPQRSTYVWXZ@/()"
|
||||
ffmpeg_version=$(echo ${ffmpeg_version})
|
||||
IFS=""
|
||||
IFS=$' \t\n'
|
||||
unset IFS
|
||||
if [ -z "${ffmpeg_version}" ] ; then
|
||||
video_sync="vsync"
|
||||
else
|
||||
|
|
|
@ -13,7 +13,8 @@ M_DATE="100223"
|
|||
ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1)
|
||||
IFS="abcdefghijklmnopqrstyvwxzABCDEFHIJKLMNOPQRSTYVWXZ@/()"
|
||||
ffmpeg_version=$(echo ${ffmpeg_version})
|
||||
IFS=""
|
||||
IFS=$' \t\n'
|
||||
unset IFS
|
||||
if [ -z "${ffmpeg_version}" ] ; then
|
||||
video_sync="vsync"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user