From 2c61676e8fd4863e1399b4363db1198de3d06262 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 4 Nov 2014 03:05:46 +0300 Subject: [PATCH] Simplify parameters' handling --- video/ff_encode | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/video/ff_encode b/video/ff_encode index 8b19270..bdca217 100755 --- a/video/ff_encode +++ b/video/ff_encode @@ -7,14 +7,10 @@ fi if [ -z "$vcodec" ]; then vcodec=mpeg4 -else - vcodec="$vcodec" fi if [ -z "$vbitrate" ]; then vbitrate=1600k -else - vbitrate="$vbitrate" fi if [ -n "$vscale" ]; then @@ -23,20 +19,14 @@ fi if [ -z "$acodec" ]; then acodec=libmp3lame -else - acodec="$acodec" fi if [ -z "$abitrate" ]; then abitrate=256k -else - abitrate="$abitrate" fi if [ -z "$pass" ]; then pass=1 -else - pass="$pass" fi input="$1" -- 2.39.5