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

aman at tmm1.net aman at tmm1.net
Wed May 23 21:37:44 CEST 2018


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



More information about the libdvbpsi-devel mailing list