[vlc-commits] ogg mux: fix format warning

Rémi Denis-Courmont git at videolan.org
Sat Jul 6 10:18:53 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul  4 22:30:03 2013 +0300| [3e454fd4c5b47170bb9a714ce2270b680cd97e72] | committer: Rémi Denis-Courmont

ogg mux: fix format warning

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

 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