[vlc-devel] commit: flac: Fix comparaison between signed and unsigned. ( Rémi Duraffort )
git version control
git at videolan.org
Sun Nov 30 17:15:05 CET 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Nov 30 17:03:27 2008 +0100| [cbd6303e10b7bf053e6c531a490473108a62e108] | committer: Rémi Duraffort
flac: Fix comparaison between signed and unsigned.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cbd6303e10b7bf053e6c531a490473108a62e108
---
modules/codec/flac.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/codec/flac.c b/modules/codec/flac.c
index 6ebd53c..d7130dc 100644
--- a/modules/codec/flac.c
+++ b/modules/codec/flac.c
@@ -860,7 +860,8 @@ static int SyncInfo( decoder_t *p_dec, uint8_t *p_buf,
{
decoder_sys_t *p_sys = p_dec->p_sys;
int i_header, i_temp, i_read;
- int i_blocksize = 0, i_blocksize_hint = 0, i_sample_rate_hint = 0;
+ unsigned i_blocksize = 0;
+ int i_blocksize_hint = 0, i_sample_rate_hint = 0;
uint64_t i_sample_number = 0;
bool b_variable_blocksize = ( p_sys->b_stream_info &&
More information about the vlc-devel
mailing list