Commit db4b3639 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

codec/libmpeg2: narrow scope of iteration variable

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent eb8fac6b
......@@ -683,9 +683,8 @@ static block_t *GetCc( decoder_t *p_dec, bool pb_present[4] )
{
decoder_sys_t *p_sys = p_dec->p_sys;
block_t *p_cc = NULL;
int i;
for( i = 0; i < 4; i++ )
for( int i = 0; i < 4; i++ )
pb_present[i] = p_sys->cc.pb_present[i];
if( p_sys->cc.i_data <= 0 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment