Commit a102d147 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

NUV: code cosmetics

parent c209bfba
...@@ -769,8 +769,8 @@ static int SeekTableLoad( demux_t *p_demux, demux_sys_t *p_sys ) ...@@ -769,8 +769,8 @@ static int SeekTableLoad( demux_t *p_demux, demux_sys_t *p_sys )
const int32_t i_seek_elements = fh.i_length / 12; const int32_t i_seek_elements = fh.i_length / 12;
/* Get keyframe adjust offsets */ /* Get keyframe adjust offsets */
int32_t i_kfa_elements; int32_t i_kfa_elements = 0;
uint8_t *p_kfa_table; uint8_t *p_kfa_table = NULL;
if( p_sys->exh.i_keyframe_adjust_offset > 0 ) if( p_sys->exh.i_keyframe_adjust_offset > 0 )
{ {
...@@ -806,16 +806,7 @@ static int SeekTableLoad( demux_t *p_demux, demux_sys_t *p_sys ) ...@@ -806,16 +806,7 @@ static int SeekTableLoad( demux_t *p_demux, demux_sys_t *p_sys )
i_kfa_elements = fh.i_length / 8; i_kfa_elements = fh.i_length / 8;
} }
else
{
i_kfa_elements = 0;
}
} }
else
{
i_kfa_elements = 0;
}
if( i_kfa_elements > 0 ) if( i_kfa_elements > 0 )
msg_Warn( p_demux, "untested keyframe adjust support, upload samples" ); msg_Warn( p_demux, "untested keyframe adjust support, upload samples" );
......
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