summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode2
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode
index f3e80a7..8befac3 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -156,7 +156,7 @@ melt_recent=$(melt -query filter=loudness | grep -qi R128 && echo yes)
# sanitize infiles
infiles=$*
-infile_first=$(perl -e 'print pop @ARGV' $infiles)
+infile_first=$(perl -e 'print shift @ARGV' $infiles)
[ -e "$infile_first" ] || exit1 "Cannot read first input file \"$infile_first\"!"
# resolve stem and title (if not explicitly set)