[vlc-devel] commit: Fixed printf format for size_t. (Laurent Aimar )

git version control git at videolan.org
Sun Jul 20 22:24:44 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Jul 20 22:24:50 2008 +0200| [c80284eddc1dd7005bfeb3a32782345fd57684c7]

Fixed printf format for size_t.

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

 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 de41b73..5886988 100644
--- a/modules/codec/schroedinger.c
+++ b/modules/codec/schroedinger.c
@@ -250,6 +250,7 @@ static void SchroFrameFree( SchroFrame *frame, void *priv)
     if( !p_pic )
         return;
 
+    /* FIXME it is wrong, you should call pf_vout_buffer_del */
     if( p_pic->pf_release ) p_pic->pf_release( p_pic );
     (void)frame;
 }
@@ -449,7 +450,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
                 b_bail = 1;
             }
 
-            msg_Dbg( p_dec, "Inserting bytes into decoder len=%d of %d pts=%"PRId64,
+            msg_Dbg( p_dec, "Inserting bytes into decoder len=%zu of %zu pts=%"PRId64,
                      i_pulen, p_block->i_buffer, p_block->i_pts);
             /* this stops the same block being fed back into this function if
              * we were on the next iteration of this loop to output a picture */




More information about the vlc-devel mailing list