[vlc-devel] commit: schroedinger: fix warnings ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jun 29 17:21:20 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jun 29 18:22:43 2008 +0300| [b07357af26f3b5dadbea7fa1f255a3d0fc0de630]

schroedinger: fix warnings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b07357af26f3b5dadbea7fa1f255a3d0fc0de630
---

 modules/codec/schroedinger.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/codec/schroedinger.c b/modules/codec/schroedinger.c
index 46245f8..adf8017 100644
--- a/modules/codec/schroedinger.c
+++ b/modules/codec/schroedinger.c
@@ -251,6 +251,7 @@ static void SchroFrameFree( SchroFrame *frame, void *priv)
         return;
 
     if( p_pic->pf_release ) p_pic->pf_release( p_pic );
+    (void)frame;
 }
 
 /*****************************************************************************
@@ -320,6 +321,7 @@ static void SchroBufferFree( SchroBuffer *buf, void *priv )
         return;
 
     block_Release( p_block );
+    (void)buf;
 }
 
 /*****************************************************************************
@@ -362,7 +364,6 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
     picture_t *p_pic;
     block_t *p_block;
     uint32_t u_pnum;
-    static int drop = 0;
 
     if( !pp_block ) return NULL;
 




More information about the vlc-devel mailing list