Martin Storsjö <[email protected]> added the comment:

Good that the issue in XBMC is fixed.

There's no issue with rtsp.c, you've misunderstood the problem. The problem is 
not 
using url_fdopen, the problem is that calls to url_open_protocol must be 
matched 
with url_close. In rtsp.c, we first call url_open (which calls 
url_open_protocol), 
and later either close this with url_close, or wrap it into a ByteIOContext 
with 
url_fdopen. If the latter case, we close it with url_fclose, which in turn 
calls 
url_close.

The original problem in XBMC was that there was no call to url_open_protocol, 
even 
if url_close was called (through url_fclose). This has nothing to do with 
url_fdopen.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue1849>
________________________________________________

Reply via email to