From 681b4e183a98620ab735a301b29ad2d181e1d4d8 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 9 Dec 1999 22:37:46 +0000 Subject: [PATCH] Correction d'un bug dans la lecture de la version de la PMT --- src/input/input_psi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input_psi.c b/src/input/input_psi.c index cea86156a3..1d8412b0c2 100644 --- a/src/input/input_psi.c +++ b/src/input/input_psi.c @@ -491,7 +491,7 @@ static void DecodePgrmMapSection( u8* p_pms, input_thread_t* p_input ) // intf_DbgMsg("Section %d (last section %d)\n", i_current_section, i_last_section); /* Is this an update of the description for this program ? */ - i_version = (p_pms[5] >> 1) && 0x1F; + i_version = (p_pms[5] >> 1) & 0x1F; if( p_pgrm->i_version != i_version ) { intf_DbgMsg("Updating PMT for program %d\n", i_pgrm_number);