[dvblast-devel] Fix enumeration value not handeled in switch.
Zoran Turalija
git at videolan.org
Wed Apr 17 12:14:33 CEST 2013
dvblast | branch: master | Zoran Turalija <zoran.turalija at gmail.com> | Wed Apr 17 09:34:19 2013 +0200| [51c9565bc3ec3443611f1e20a15fe0abd545bb1a] | committer: Georgi Chorbadzhiyski
Fix enumeration value not handeled in switch.
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.
> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=51c9565bc3ec3443611f1e20a15fe0abd545bb1a
---
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
}
}
More information about the dvblast-devel
mailing list