X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fdemux%2Frawvid.c;h=21bdb4fde15cdf5bf6dd3652459b95a4dfa230f9;hb=b5277240aa78e2515cc4f32ca4b582160b2ee8d8;hp=3183bdc0f08564ab844767f84068740bfb47f09f;hpb=df61d33b06e2b3cbbe746b2f5a9bea5b370c24ff;p=vlc diff --git a/modules/demux/rawvid.c b/modules/demux/rawvid.c index 3183bdc0f0..21bdb4fde1 100644 --- a/modules/demux/rawvid.c +++ b/modules/demux/rawvid.c @@ -30,7 +30,8 @@ # include "config.h" #endif -#include +#include +#include #include #include /* vout_InitFormat */ @@ -61,7 +62,7 @@ static void Close( vlc_object_t * ); vlc_module_begin(); set_shortname( "Raw Video" ); - set_description( _("Raw video demuxer") ); + set_description( N_("Raw video demuxer") ); set_capability( "demux", 10 ); set_category( CAT_INPUT ); set_subcategory( SUBCAT_INPUT_DEMUX ); @@ -181,7 +182,8 @@ static int Open( vlc_object_t * p_this ) { char *psz; char *buf; - int a, b = 1; + int a = 1; + int b = 1; psz = stream_ReadLine( p_demux->s ); /* TODO: handle interlacing */ @@ -380,7 +382,7 @@ static int Demux( demux_t *p_demux ) p_block->i_dts = p_block->i_pts = p_sys->i_pcr; es_out_Send( p_demux->out, p_sys->p_es_video, p_block ); - p_sys->i_pcr += ( I64C(1000000) / p_sys->f_fps ); + p_sys->i_pcr += ( INT64_C(1000000) / p_sys->f_fps ); return 1; }