Commit 0fade915 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

mpg123: fix sign comparison about rate

mpg123 uses long as rate...
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent cdffde0d
......@@ -186,9 +186,9 @@ static int UpdateAudioFormat( decoder_t *p_dec )
aout_FormatPrepare( &p_dec->fmt_out.audio );
/* Date management */
if( p_dec->fmt_out.audio.i_rate != frame_info.rate )
if( p_dec->fmt_out.audio.i_rate != (unsigned int)frame_info.rate )
{
p_dec->fmt_out.audio.i_rate = frame_info.rate;
p_dec->fmt_out.audio.i_rate = (unsigned int)frame_info.rate;
date_Init( &p_sys->end_date, p_dec->fmt_out.audio.i_rate, 1 );
date_Set( &p_sys->end_date, 0 );
}
......
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