[libdvbpsi-devel] [PATCH] 0x40 descriptor syntax error fix and Makefile.am inclusion

Jean-Paul Saman jpsaman at videolan.org
Wed May 9 17:02:44 CEST 2012


Thanks patch is applied.


Kind regards,
Jean-Paul Smaan

On Wed, May 9, 2012 at 4:44 PM, Roberto Corno <corno.roberto at gmail.com> wrote:
> ---
>  src/Makefile.am         |    1 +
>  src/descriptors/dr_40.c |    2 +-
>  2 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 356bbc2..c0e4332 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -31,6 +31,7 @@ pkginclude_HEADERS = dvbpsi.h psi.h descriptor.h demux.h \
>                      descriptors/dr_0d.h \
>                      descriptors/dr_0e.h \
>                      descriptors/dr_0f.h \
> +                     descriptors/dr_40.h \
>                      descriptors/dr_42.h \
>                      descriptors/dr_43.h \
>                      descriptors/dr_44.h \
> diff --git a/src/descriptors/dr_40.c b/src/descriptors/dr_40.c
> index 6ee24f3..163b836 100644
> --- a/src/descriptors/dr_40.c
> +++ b/src/descriptors/dr_40.c
> @@ -62,7 +62,7 @@ dvbpsi_network_name_dr_t* dvbpsi_DecodeNetworkNameDr(
>
>     /* Decode data */
>     p_decoded->i_name_length = p_descriptor->i_length <= 255 ?
> -                               p_descriptor->i_lenght : 255;
> +                               p_descriptor->i_length : 255;
>     if (p_decoded->i_name_length)
>         memcpy(p_decoded->i_name_byte,
>                p_descriptor->p_data,
> --
> 1.7.5.4
>
> _______________________________________________
> libdvbpsi-devel mailing list
> libdvbpsi-devel at videolan.org
> http://mailman.videolan.org/listinfo/libdvbpsi-devel


More information about the libdvbpsi-devel mailing list