Commit 6ba5e8e8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Ogg mux: make sure to reject if ES_type is not one expected

This is extra-precaution, but it cannot do harm
parent 43db36bd
......@@ -990,6 +990,8 @@ static int MuxBlock( sout_mux_t *p_mux, sout_input_t *p_input )
/* granulepos is in millisec */
op.granulepos = ( p_data->i_dts - p_sys->i_start_dts ) / 1000;
}
else
return VLC_EGENERIC;
p_stream->u_last_granulepos = op.granulepos;
ogg_stream_packetin( &p_stream->os, &op );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment