[vlc-commits] AVI: fix sign warning for DV Audio
Jean-Baptiste Kempf
git at videolan.org
Sat Nov 30 21:31:18 CET 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 29 19:28:32 2013 +0100| [f8afff69ec12ab780b7b7ccd5343eee5abb48b54] | committer: Jean-Baptiste Kempf
AVI: fix sign warning for DV Audio
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f8afff69ec12ab780b7b7ccd5343eee5abb48b54
---
modules/demux/avi/avi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 2a50ad7..1de0e12 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -2559,7 +2559,7 @@ static void AVI_MetaLoad( demux_t *p_demux,
static void AVI_DvHandleAudio( demux_t *p_demux, avi_track_t *tk, block_t *p_frame )
{
- size_t i_offset = 80*6+80*16*3 + 3;
+ size_t i_offset = 80 * 6 + 80 * 16 * 3 + 3;
if( p_frame->i_buffer < i_offset + 5 )
return;
@@ -2569,7 +2569,7 @@ static void AVI_DvHandleAudio( demux_t *p_demux, avi_track_t *tk, block_t *p_fra
es_format_t fmt;
dv_get_audio_format( &fmt, &p_frame->p_buffer[i_offset + 1] );
- if( tk->p_es_dv_audio && tk->i_dv_audio_rate != fmt.audio.i_rate )
+ if( tk->p_es_dv_audio && tk->i_dv_audio_rate != (int)fmt.audio.i_rate )
{
es_out_Del( p_demux->out, tk->p_es_dv_audio );
tk->p_es_dv_audio = es_out_Add( p_demux->out, &fmt );
More information about the vlc-commits
mailing list