[vlc-devel] commit: Kill warnings. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Jun 15 01:34:39 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun 14 16:31:33 2008 -0700| [a0a315c850c037a71e4bf8fd854bb6c671af4e02]
Kill warnings.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a0a315c850c037a71e4bf8fd854bb6c671af4e02
---
modules/demux/avi/avi.c | 4 ++--
modules/demux/avi/libavi.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 1d7b6b7..64fcf57 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -551,8 +551,8 @@ static int Open( vlc_object_t * p_this )
fmt.p_extra = &p_vids->p_bih[1];
msg_Dbg( p_demux, "stream[%d] video(%4.4s) %dx%d %dbpp %ffps",
i, (char*)&p_vids->p_bih->biCompression,
- p_vids->p_bih->biWidth,
- p_vids->p_bih->biHeight,
+ (uint32_t)p_vids->p_bih->biWidth,
+ (uint32_t)p_vids->p_bih->biHeight,
p_vids->p_bih->biBitCount,
(float)tk->i_rate/(float)tk->i_scale );
diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index b91f070..91866a3 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -408,8 +408,8 @@ static int AVI_ChunkRead_strf( stream_t *s, avi_chunk_t *p_chk )
msg_Dbg( (vlc_object_t*)s,
"strf: video:%4.4s %dx%d planes:%d %dbpp",
(char*)&p_chk->strf.vids.p_bih->biCompression,
- p_chk->strf.vids.p_bih->biWidth,
- p_chk->strf.vids.p_bih->biHeight,
+ (uint32_t)p_chk->strf.vids.p_bih->biWidth,
+ (uint32_t)p_chk->strf.vids.p_bih->biHeight,
p_chk->strf.vids.p_bih->biPlanes,
p_chk->strf.vids.p_bih->biBitCount );
#endif
@@ -651,7 +651,7 @@ static int AVI_ChunkRead_nothing( stream_t *s, avi_chunk_t *p_chk )
}
static void AVI_ChunkFree_nothing( avi_chunk_t *p_chk )
{
-
+ VLC_UNUSED( p_chk );
}
static struct
More information about the vlc-devel
mailing list