[vlc-commits] speex: avoid unsigned->signed->unsigned conversion (CID #1048968)
Rémi Denis-Courmont
git at videolan.org
Sun Aug 23 09:34:28 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 23 10:33:50 2015 +0300| [cb267c8052444a1f14e903203ad7da9e5b8df1d9] | committer: Rémi Denis-Courmont
speex: avoid unsigned->signed->unsigned conversion (CID #1048968)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cb267c8052444a1f14e903203ad7da9e5b8df1d9
---
modules/codec/speex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/speex.c b/modules/codec/speex.c
index c93fbc6..e21c7fa 100644
--- a/modules/codec/speex.c
+++ b/modules/codec/speex.c
@@ -1061,7 +1061,7 @@ static block_t *Encode( encoder_t *p_enc, block_t *p_aout_buf )
if( unlikely( !p_aout_buf ) ) return NULL;
unsigned char *p_buffer = p_aout_buf->p_buffer;
- int i_samples = p_aout_buf->i_nb_samples;
+ unsigned i_samples = p_aout_buf->i_nb_samples;
int i_samples_delay = p_sys->i_samples_delay;
mtime_t i_pts = p_aout_buf->i_pts -
More information about the vlc-commits
mailing list