]> git.sesse.net Git - vlc/commitdiff
Kill warnings.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 Jun 2008 23:31:33 +0000 (16:31 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 Jun 2008 23:31:33 +0000 (16:31 -0700)
modules/demux/avi/avi.c
modules/demux/avi/libavi.c

index 1d7b6b7dcfc3a3fa9875c2b2774524f5cd4e2049..64fcf57b087baf4d853175a91d0bb0ef1b94efa0 100644 (file)
@@ -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 );
 
index b91f0708421c7f3f54abda591f0de17eb4a7c71f..91866a3e45233257d5c985642a46d603c5addc57 100644 (file)
@@ -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