[libdvbpsi-devel] [PATCH] tables/atsc_mgt: fix compile error due to missing return

Jean-Paul Saman jpsaman at videolan.org
Thu May 24 10:07:12 CEST 2018


Fixed in commit: 311cd26e0014aa8b42d3ef1b82b595abcb45b58f

Thank you for contributing.

Gtz
Jean-Paul Saman

On Wed, May 23, 2018 at 9:37 PM, <aman at tmm1.net> wrote:

> From: Aman Gupta <aman at tmm1.net>
>
> Signed-off-by: Aman Gupta <aman at tmm1.net>
> ---
>  src/tables/atsc_mgt.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/tables/atsc_mgt.h b/src/tables/atsc_mgt.h
> index 225c215..184f8d4 100644
> --- a/src/tables/atsc_mgt.h
> +++ b/src/tables/atsc_mgt.h
> @@ -129,8 +129,8 @@ __attribute__((deprecated,unused))
>  inline bool dvbpsi_atsc_AttachMGT(dvbpsi_t *p_dvbpsi, uint8_t i_table_id,
>      uint16_t i_extension, dvbpsi_atsc_mgt_callback pf_callback, void*
> p_priv)
>  {
> -    dvbpsi_atsc_mgt_attach(p_dvbpsi, i_table_id, i_extension,
> -                           pf_callback, p_priv);
> +    return dvbpsi_atsc_mgt_attach(p_dvbpsi, i_table_id, i_extension,
> +                                  pf_callback, p_priv);
>  }
>
>  /***********************************************************
> ******************
> --
> 2.14.2
>
> _______________________________________________
> libdvbpsi-devel mailing list
> libdvbpsi-devel at videolan.org
> https://mailman.videolan.org/listinfo/libdvbpsi-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libdvbpsi-devel/attachments/20180524/eb973888/attachment.html>


More information about the libdvbpsi-devel mailing list