[vlc-devel] commit: Fix error in undef zvbi private define ZVBI_PIXFMT_RGBA32 and fix compiler warnings for unused arguments . (Jean-Paul Saman )

git version control git at videolan.org
Tue Apr 22 16:10:00 CEST 2008


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Tue Apr 22 11:27:37 2008 +0200| [eca6989d3f6d44cf055f9cb29fee5b0165fabd2f]

Fix error in undef zvbi private define ZVBI_PIXFMT_RGBA32 and fix compiler warnings for unused arguments.

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

 modules/codec/zvbi.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index 12fb334..1e7740e 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -307,7 +307,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
 
     p_sys->b_update = false;
     p_sys->i_last_page = p_sys->i_wanted_page;
-#if 0
+#if 1
     msg_Dbg( p_dec, "we now have page: %d ready for display",
               p_sys->i_wanted_page );
 #endif
@@ -415,7 +415,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
         p_pic->p->i_lines = p_page.rows * 10;
         p_pic->p->i_pitch = p_page.columns * 12 * 4;
 
-#if 0
+#if 1
         msg_Dbg( p_dec, "page %x-%x(%d,%d)",
                  p_page.pgno, p_page.subno,
                  p_page.rows, p_page.columns );
@@ -452,7 +452,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
 #endif
     }
 
-#undef PIXFMT_RGBA32
+#undef ZVBI_PIXFMT_RGBA32
 
     vbi_unref_page( &p_page );
     block_Release( p_block );
@@ -641,6 +641,7 @@ static int RequestPage( vlc_object_t *p_this, char const *psz_cmd,
                         vlc_value_t oldval, vlc_value_t newval, void *p_data )
 {
     decoder_sys_t   *p_sys = p_data;
+    VLC_UNUSED(p_this); VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval);
 
     if( (newval.i_int > 0) && (newval.i_int < 999) )
         p_sys->i_wanted_page = newval.i_int;
@@ -652,6 +653,7 @@ static int Opaque( vlc_object_t *p_this, char const *psz_cmd,
                    vlc_value_t oldval, vlc_value_t newval, void *p_data )
 {
     decoder_sys_t *p_sys = p_data;
+    VLC_UNUSED(p_this); VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval);
 
     if( p_sys )
         p_sys->b_opaque = newval.b_bool;
@@ -662,6 +664,7 @@ static int Position( vlc_object_t *p_this, char const *psz_cmd,
                      vlc_value_t oldval, vlc_value_t newval, void *p_data )
 {
     decoder_sys_t *p_sys = p_data;
+    VLC_UNUSED(p_this); VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval);
 
     if( p_sys )
         p_sys->i_align = newval.i_int;




More information about the vlc-devel mailing list