[vlc-devel] [PATCH] fix a race condition in rtp stream output
sebastien-devel at celeos.eu
Thu Jun 24 19:14:46 CEST 2010
On Thu, 2010-06-24 at 19:00 +0200, Rémi Denis-Courmont wrote:
> I am not very happy with calling RtspAddId under lock_es, and I don't
> understand why we would need to do that.
The two patches are related.
We can be in SDPGenerate and at the same time in SDPHandleUrl where I
added the lock_es, and they both use p_sys->es.
Without the lock, in my second patch there would be a race condition
when I check (p_sys->es->rtsp_id != NULL).
More information about the vlc-devel