[vlc-commits] ASF: fix a warning
Jean-Baptiste Kempf
git at videolan.org
Fri Jan 28 14:28:30 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 28 14:26:36 2011 +0100| [5149f191bc7851b25bdf385b5bb506e238fe977a] | committer: Jean-Baptiste Kempf
ASF: fix a warning
An negative integer would make no sense here. I guess we could use an
unsigned char here, since it can only be between 0 and 127, as far as I
understand
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5149f191bc7851b25bdf385b5bb506e238fe977a
---
modules/demux/asf/asf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index c4bb575..4455783 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -501,7 +501,7 @@ static int DemuxPacket( demux_t *p_demux )
asf_track_t *tk;
int i_packet_keyframe;
- int i_stream_number;
+ unsigned int i_stream_number;
int i_media_object_number;
int i_media_object_offset;
int i_replicated_data_length;
More information about the vlc-commits
mailing list