Commit dba5a53d authored by Guillaume Poussel's avatar Guillaume Poussel Committed by Jean-Baptiste Kempf

Mpeg mux: fix a variable signedness

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9c7217e9
...@@ -354,7 +354,7 @@ int EStoPES ( sout_instance_t *p_sout, block_t **pp_pes, block_t *p_es, ...@@ -354,7 +354,7 @@ int EStoPES ( sout_instance_t *p_sout, block_t **pp_pes, block_t *p_es,
if( p_fmt->i_codec == VLC_CODEC_H264 ) if( p_fmt->i_codec == VLC_CODEC_H264 )
{ {
int offset=2; unsigned offset=2;
while(offset < p_es->i_buffer ) while(offset < p_es->i_buffer )
{ {
if( p_es->p_buffer[offset-2] == 0 && if( p_es->p_buffer[offset-2] == 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