rtsp-stream : fix race condition
The race condition that can occure when the first thread sets the n_outstanding variable to zero, then another thread can free the transport_cash that the other thread is using. When the first thread are then trying to iterate to the next element in the freed list it will probably cause a segfault.
Fixes #81 (closed)
Edited by johanadamnilsson