Commit 50491f17 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix compiler warning about comparing signed and unsigned int.

parent 38f300b1
...@@ -322,7 +322,7 @@ static void Close( vlc_object_t *p_this ) ...@@ -322,7 +322,7 @@ static void Close( vlc_object_t *p_this )
var_Destroy( p_this, DVBSUB_CFG_PREFIX "x" ); var_Destroy( p_this, DVBSUB_CFG_PREFIX "x" );
var_Destroy( p_this, DVBSUB_CFG_PREFIX "y" ); var_Destroy( p_this, DVBSUB_CFG_PREFIX "y" );
var_Destroy( p_this, DVBSUB_CFG_PREFIX "position" ); var_Destroy( p_this, DVBSUB_CFG_PREFIX "position" );
free_all( p_dec ); free_all( p_dec );
free( p_sys ); free( p_sys );
......
...@@ -1115,7 +1115,7 @@ struct encoder_sys_t ...@@ -1115,7 +1115,7 @@ struct encoder_sys_t
int i_channels; int i_channels;
FLAC__int32 *p_buffer; FLAC__int32 *p_buffer;
int i_buffer; unsigned int i_buffer;
block_t *p_chain; block_t *p_chain;
...@@ -1207,7 +1207,7 @@ static block_t *Encode( encoder_t *p_enc, aout_buffer_t *p_aout_buf ) ...@@ -1207,7 +1207,7 @@ static block_t *Encode( encoder_t *p_enc, aout_buffer_t *p_aout_buf )
{ {
encoder_sys_t *p_sys = p_enc->p_sys; encoder_sys_t *p_sys = p_enc->p_sys;
block_t *p_chain; block_t *p_chain;
int i; unsigned int i;
p_sys->i_pts = p_aout_buf->start_date - p_sys->i_pts = p_aout_buf->start_date -
(mtime_t)1000000 * (mtime_t)p_sys->i_samples_delay / (mtime_t)1000000 * (mtime_t)p_sys->i_samples_delay /
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment