Skip to content

Commit

Permalink
TS demux: use unsigned type for array offset
Browse files Browse the repository at this point in the history
  • Loading branch information
funman committed May 9, 2014
1 parent 79dddb0 commit 5de00be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/demux/ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -1763,7 +1763,7 @@ static void ParseTableSection( demux_t *p_demux, ts_pid_t *pid, block_t *p_data
if( p_content->i_buffer > 9 && p_content->p_buffer[0] == 0xc6 )
{
int i_index = 0;
int i_offset = 4;
size_t i_offset = 4;
if( p_content->p_buffer[3] & 0x40 )
{
i_index = ((p_content->p_buffer[7] & 0x0f) << 8) |
Expand Down

0 comments on commit 5de00be

Please sign in to comment.