]> git.phdru.name Git - audio-cdr-video.git/commitdiff
Use expr instead of python
authorOleg Broytman <phd@phdru.name>
Sat, 1 Nov 2014 23:39:31 +0000 (02:39 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 1 Nov 2014 23:39:31 +0000 (02:39 +0300)
video/calc_bitrate

index e680ac9a62f426caf275f777fea244d9dd1422e8..e5091fda738c77e704f74a5ce49bdd825dd6f25f 100755 (executable)
@@ -18,4 +18,4 @@ else
    bpp="$4"
 fi
 
-echo bitrate = "$width * $height * $fps * $bpp / 1000" = `python -c "print $width * $height * $fps * $bpp / 1000"`
+echo bitrate = "$width * $height * $fps * $bpp / 1000" = `expr $width * $height * $fps * $bpp / 1000`