[FFmpeg-cvslog] tools/normalize.py: both input and output file names are required

Mark Harris git at videolan.org
Tue Sep 2 07:31:57 CEST 2014


ffmpeg | branch: master | Mark Harris <mark.hsj at gmail.com> | Mon Sep  1 15:13:42 2014 -0700| [4cabee50f624de9b9bb074d8571abb0f06e0b635] | committer: Clément Bœsch

tools/normalize.py: both input and output file names are required

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4cabee50f624de9b9bb074d8571abb0f06e0b635
---

 tools/normalize.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/normalize.py b/tools/normalize.py
index e015913..7d87c5e 100755
--- a/tools/normalize.py
+++ b/tools/normalize.py
@@ -2,7 +2,7 @@
 
 import sys, subprocess
 
-if len(sys.argv) > 1:
+if len(sys.argv) > 2:
     ifile  = sys.argv[1]
     encopt = sys.argv[2:-1]
     ofile  = sys.argv[-1]



More information about the ffmpeg-cvslog mailing list