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

Mark Harris mark.hsj at gmail.com
Tue Sep 2 00:13:42 CEST 2014


---
 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]
-- 
2.1.0



More information about the ffmpeg-devel mailing list