[FFmpeg-devel] [PATCH] RTSP alternate protocol 2-3/3

Ronald S. Bultje rsbultje
Wed Mar 19 05:57:45 CET 2008


Hi,

On Tue, Mar 18, 2008 at 11:06 PM, Michael Niedermayer <michaelni at gmx.at>
wrote:

> try this:
> for(i=0; i < rt->nb_rtsp_streams; i++) {
>    url_close(rt->rtsp_streams[i]->rtp_handle);
>    rt->rtsp_streams[i]->rtp_handle = NULL;
> }
> maybe it needs a if(rt->rtsp_streams[i]->rtp_handle) dunno


url_close() doesn't check that, so yes. See $attached.

Ronald
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtsp-alternate-protocol.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080319/8dda7bc5/attachment.txt>



More information about the ffmpeg-devel mailing list