X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fmux%2Fmpjpeg.c;h=0d53522a5977fde31a1cc9553b116f0e4e86b526;hb=88b1d54a0d3eb0b66aac5b1eb24867bc355d54e1;hp=d0b834fc90409f1dbcffeb8a9f17bb9eb119ad30;hpb=78880d35f3b4b38c909ede5b37b4879639bffb70;p=vlc diff --git a/modules/mux/mpjpeg.c b/modules/mux/mpjpeg.c index d0b834fc90..0d53522a59 100644 --- a/modules/mux/mpjpeg.c +++ b/modules/mux/mpjpeg.c @@ -29,7 +29,8 @@ # include "config.h" #endif -#include +#include +#include #include #include @@ -43,7 +44,7 @@ static void Close ( vlc_object_t * ); vlc_module_begin(); set_shortname( "MPJPEG" ); - set_description( _("Multipart JPEG muxer") ); + set_description( N_("Multipart JPEG muxer") ); set_capability( "sout mux", 5 ); add_obsolete_string( SOUT_CFG_PREFIX "separator" ); set_category( CAT_SOUT ); @@ -164,7 +165,7 @@ static int Mux( sout_mux_t *p_mux ) static const char psz_hfmt[] = "\r\n" "--"BOUNDARY"\r\n" "Content-Type: image/jpeg\r\n" - "Content-Length: %u\r\n" + "Content-Length: %zu\r\n" "\r\n"; block_t *p_data = block_FifoGet( p_fifo ); block_t *p_header = block_New( p_mux, sizeof( psz_hfmt ) + 20 );