[vlc-commits] ogg mux: fix format warning

Rémi Denis-Courmont git at videolan.org
Mon Jul 8 14:40:58 CEST 2013


vlc/vlc-2.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul  4 22:30:03 2013 +0300| [729c506a140fd1786d7cd4d8324656d828b2e095] | committer: Jean-Baptiste Kempf

ogg mux: fix format warning

(cherry picked from commit 3e454fd4c5b47170bb9a714ce2270b680cd97e72)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/mux/ogg.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/mux/ogg.c b/modules/mux/ogg.c
index 8d5325b..99252b0 100644
--- a/modules/mux/ogg.c
+++ b/modules/mux/ogg.c
@@ -795,7 +795,8 @@ static block_t *OggCreateHeader( sout_mux_t *p_mux )
                     flac_streaminfo[3] = 34; /* block size */
                     op.packet = flac_streaminfo;
                 } else {
-                    msg_Err(p_mux, "Invalid FLAC streaminfo (%d bytes)", op.bytes);
+                    msg_Err(p_mux, "Invalid FLAC streaminfo (%ld bytes)",
+                            op.bytes);
                 }
             }
             op.b_o_s  = 0;



More information about the vlc-commits mailing list