[NUT-devel] [PATCH 1/2] nut: add a minor version field

Luca Barbato lu_zero at gentoo.org
Mon Dec 23 06:31:25 CET 2013


On 23/12/13 03:21, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  docs/nut.txt |   10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/docs/nut.txt b/docs/nut.txt
> index 7969e3c..44198c1 100644
> --- a/docs/nut.txt
> +++ b/docs/nut.txt
> @@ -1,5 +1,5 @@
>  ==================================
> -NUT Open Container Format 20080202
> +NUT Open Container Format 20131223
>  ==================================
>  
>  
> @@ -243,6 +243,8 @@ reserved_headers
>  
>  main_header:
>      version                             v
> +    if (version > 3)
> +        minor_version                   v
>      stream_count                        v
>      max_distance                        v
>      time_base_count                     v
> @@ -463,6 +465,12 @@ info_startcode (f(64))
>  version (v)
>      NUT version. The current value is 3. All lower values are pre-freeze.
>  
> +minor_version (v)
> +    NUT minor_version. This represents minor changes in the specification
> +    which do not affect compatibility. Demuxers MUST NOT reject files
> +    based on this value.
> +    The current value is 0
> +

Looks fine.


More information about the NUT-devel mailing list