Commit 30634392 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

TS: Fix crashing with CSA

Close #11955

(cherry picked from commit 5d8962447c6c31136597cc6c8b4efed947d144e2)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3d962e93
...@@ -723,13 +723,14 @@ static int Open( vlc_object_t *p_this ) ...@@ -723,13 +723,14 @@ static int Open( vlc_object_t *p_this )
p_sys->b_use_key_frames = var_GetBool( p_mux, SOUT_CFG_PREFIX "use-key-frames" ); p_sys->b_use_key_frames = var_GetBool( p_mux, SOUT_CFG_PREFIX "use-key-frames" );
p_mux->p_sys = p_sys;
p_sys->csa = csaSetup(p_this); p_sys->csa = csaSetup(p_this);
p_mux->pf_control = Control; p_mux->pf_control = Control;
p_mux->pf_addstream = AddStream; p_mux->pf_addstream = AddStream;
p_mux->pf_delstream = DelStream; p_mux->pf_delstream = DelStream;
p_mux->pf_mux = Mux; p_mux->pf_mux = Mux;
p_mux->p_sys = p_sys;
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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