[x265] [PATCH] x265 : option - long_options structure initialization without using x265opts

Rafaël Carré funman at videolan.org
Wed Oct 16 20:02:25 CEST 2013


Hello,

Le 16/10/2013 12:28, Gopu Govindaswamy a écrit :
> # HG changeset patch
> # User Gopu Govindaswamy <gopu at multicorewareinc.com>
> # Date 1381919315 -19800
> # Node ID 1b69368780ab4fe67349e089d6bf10482c9dbed4
> # Parent  5f173d255d550efefbbf63837bee5fe9d2d12f00
> x265 : option - long_options structure initialization without using x265opts
> 
> diff -r 5f173d255d55 -r 1b69368780ab source/x265.cpp
> --- a/source/x265.cpp	Wed Oct 16 14:48:52 2013 +0530
> +++ b/source/x265.cpp	Wed Oct 16 15:58:35 2013 +0530

Looks good to me,

> @@ -81,14 +81,79 @@
>  static const char short_options[] = "o:f:F:r:i:b:s:q:m:hV";
>  static struct option long_options[] =
>  {

I think this should be made const though although it was already not
const before your patch :)


More information about the x265-devel mailing list