[vlc-devel] [PATCH] telx: fix -Wempty-body warning

Alexandre Janniaux ajanni at videolabs.io
Tue Oct 29 15:31:54 CET 2019


---
 modules/codec/telx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/telx.c b/modules/codec/telx.c
index 8446e1a5f4c..6e9860308f6 100644
--- a/modules/codec/telx.c
+++ b/modules/codec/telx.c
@@ -682,8 +682,10 @@ static int Decode( decoder_t *p_dec, block_t *p_block )
             /* row 0 : flags and header line */
             b_update |= DecodePageHeaderPacket( p_dec, packet, magazine );
             if( b_update )
+            {
                 dbg((p_dec, "%ld --> %ld", (long int) p_block->i_pts,
                                            (long int)(p_sys->prev_pts+1500000)));
+            }
         }
         else if ( row < 26 ) /* Normal Packet */
         {
-- 
2.23.0



More information about the vlc-devel mailing list