[dvblast-devel] [PATCH] Fix enumeration value not handeled in switch.

Zoran Turalija zoran.turalija at gmail.com
Wed Apr 17 09:34:19 CEST 2013


SYS_DMBTH was introduced in DVB API version 5.0.0, and deprecated in favor
of SYS_DTMB in DVB API version 5.0.7.
---
 dvb.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/dvb.c b/dvb.c
index 6fd30d9..a6d6fef 100644
--- a/dvb.c
+++ b/dvb.c
@@ -816,6 +816,8 @@ static void FrontendInfo( struct dvb_frontend_info info, uint32_t version,
 #endif
 #if DVBAPI_VERSION >= 507
         DELSYS_INFO( SYS_DTMB, "DTMB" )
+#else
+        DELSYS_INFO( SYS_DMBTH, "DMBTH" )
 #endif
         }
     }
-- 
1.7.10.4


-- 
Kind regards,
Zoran Turalija


More information about the dvblast-devel mailing list