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

Clément Bœsch u at pkh.me
Tue Sep 2 07:32:36 CEST 2014


On Mon, Sep 01, 2014 at 03:13:42PM -0700, Mark Harris wrote:
> ---
>  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]

Applied, thank you

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140902/f303f040/attachment.asc>


More information about the ffmpeg-devel mailing list