[dvblast-devel] [PATCH] Fix enumeration value not handeled in switch.
Georgi Chorbadzhiyski
gf at unixsol.org
Wed Apr 17 10:42:34 CEST 2013
On 4/17/13 10:34 AM, Zoran Turalija wrote:
> 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
> }
> }
Seems OK.
--
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
http://github.com/gfto/
More information about the dvblast-devel
mailing list