Skip to content
Snippets Groups Projects
Commit 24465d37 authored by Alaric Senat's avatar Alaric Senat Committed by François Cartegnie
Browse files

sout: display: fix wrong decoder cast

Since bdede41d, `Add` returns an
`id_sys_t` instead of a plain decoder. The cast must be adapted as the
decoder is now contained in the `id_sys` struct.
parent 0eb30937
No related branches found
No related tags found
1 merge request!3322sout: display: fix wrong decoder cast
Pipeline #316540 passed with stage
in 21 minutes and 9 seconds
......@@ -179,9 +179,9 @@ static int Control( sout_stream_t *p_stream, int i_query, va_list args )
{
case SOUT_STREAM_ID_SPU_HIGHLIGHT:
{
vlc_input_decoder_t *p_dec = va_arg( args, void * );
sout_stream_id_sys_t *id = va_arg( args, void * );
void *spu_hl = va_arg( args, void * );
return vlc_input_decoder_SetSpuHighlight( p_dec, spu_hl );
return vlc_input_decoder_SetSpuHighlight( id->dec, spu_hl );
}
case SOUT_STREAM_IS_SYNCHRONOUS:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment