X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fpacketizer%2Fvc1.c;h=15ee82a187ca43372ef245985013ea528d35ca31;hb=05492281965ed211badf7e1f4c2220be720d3356;hp=7feb0eae06d9e7e4737185e3c3c5e1b88c394fe8;hpb=27d483e9ef7a451397d7857251c8d67097661f1d;p=vlc diff --git a/modules/packetizer/vc1.c b/modules/packetizer/vc1.c index 7feb0eae06..15ee82a187 100644 --- a/modules/packetizer/vc1.c +++ b/modules/packetizer/vc1.c @@ -30,7 +30,7 @@ # include "config.h" #endif -#include +#include #include #include #include @@ -44,13 +44,13 @@ static int Open ( vlc_object_t * ); static void Close( vlc_object_t * ); -vlc_module_begin(); - set_category( CAT_SOUT ); - set_subcategory( SUBCAT_SOUT_PACKETIZER ); - set_description( _("VC-1 packetizer") ); - set_capability( "packetizer", 50 ); - set_callbacks( Open, Close ); -vlc_module_end(); +vlc_module_begin () + set_category( CAT_SOUT ) + set_subcategory( SUBCAT_SOUT_PACKETIZER ) + set_description( N_("VC-1 packetizer") ) + set_capability( "packetizer", 50 ) + set_callbacks( Open, Close ) +vlc_module_end () /***************************************************************************** * Local prototypes @@ -252,7 +252,6 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block ) block_BytestreamFlush( &p_sys->bytestream ); p_pic->i_pts = p_sys->bytestream.p_block->i_pts; p_pic->i_dts = p_sys->bytestream.p_block->i_dts; - p_pic->i_rate = p_sys->bytestream.p_block->i_rate; block_GetBytes( &p_sys->bytestream, p_pic->p_buffer, p_pic->i_buffer ); @@ -338,7 +337,7 @@ static void BuildExtraData( decoder_t *p_dec ) memcpy( (uint8_t*)p_es->p_extra + p_sys->sh.p_sh->i_buffer, p_sys->ep.p_ep->p_buffer, p_sys->ep.p_ep->i_buffer ); } -/* ParseIDU: parse an Independant Decoding Unit */ +/* ParseIDU: parse an Independent Decoding Unit */ static block_t *ParseIDU( decoder_t *p_dec, block_t *p_frag ) { decoder_sys_t *p_sys = p_dec->p_sys;