Commit 82e23c96 authored by Pierre Ynard's avatar Pierre Ynard

rtp: fix crash on initialization error

Due to an uninitialized variable. Untested.
parent d1fa49f6
...@@ -265,6 +265,7 @@ static int Open (vlc_object_t *obj) ...@@ -265,6 +265,7 @@ static int Open (vlc_object_t *obj)
p_sys->max_dropout = var_CreateGetInteger (obj, "rtp-max-dropout"); p_sys->max_dropout = var_CreateGetInteger (obj, "rtp-max-dropout");
p_sys->max_misorder = var_CreateGetInteger (obj, "rtp-max-misorder"); p_sys->max_misorder = var_CreateGetInteger (obj, "rtp-max-misorder");
p_sys->framed_rtp = (tp == IPPROTO_TCP); p_sys->framed_rtp = (tp == IPPROTO_TCP);
p_sys->thread_ready = false;
demux->pf_demux = NULL; demux->pf_demux = NULL;
demux->pf_control = Control; demux->pf_control = Control;
......
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