[vlc-commits] Mpeg mux: fix a variable signedness
Guillaume Poussel
git at videolan.org
Mon Jan 31 12:03:58 CET 2011
vlc | branch: master | Guillaume Poussel <gpoussel at gmail.com> | Mon Jan 31 11:49:49 2011 +0100| [dba5a53df63a3cf48ed693f670c343a073d6f479] | committer: Jean-Baptiste Kempf
Mpeg mux: fix a variable signedness
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dba5a53df63a3cf48ed693f670c343a073d6f479
---
modules/mux/mpeg/pes.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/mux/mpeg/pes.c b/modules/mux/mpeg/pes.c
index 597b577..a366f57 100644
--- a/modules/mux/mpeg/pes.c
+++ b/modules/mux/mpeg/pes.c
@@ -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 )
{
- int offset=2;
+ unsigned offset=2;
while(offset < p_es->i_buffer )
{
if( p_es->p_buffer[offset-2] == 0 &&
More information about the vlc-commits
mailing list