[vlc-commits] Vorbisenc: use unsigned for i_channels
Jean-Baptiste Kempf
git at videolan.org
Wed Apr 11 11:21:25 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr 11 11:16:12 2012 +0200| [99800d92f02c5385f5a66228ac2a8af1a1f28077] | committer: Jean-Baptiste Kempf
Vorbisenc: use unsigned for i_channels
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=99800d92f02c5385f5a66228ac2a8af1a1f28077
---
modules/codec/vorbis.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/vorbis.c b/modules/codec/vorbis.c
index b085c47..ec10fe5 100644
--- a/modules/codec/vorbis.c
+++ b/modules/codec/vorbis.c
@@ -712,7 +712,7 @@ struct encoder_sys_t
int i_last_block_size;
int i_samples_delay;
- int i_channels;
+ unsigned int i_channels;
/*
** Channel reordering
@@ -850,7 +850,7 @@ static block_t *Encode( encoder_t *p_enc, aout_buffer_t *p_aout_buf )
ogg_packet oggpacket;
block_t *p_block, *p_chain = NULL;
float **buffer;
- int i;
+ unsigned int i;
unsigned int j;
mtime_t i_pts = p_aout_buf->i_pts -
More information about the vlc-commits
mailing list