[FFmpeg-devel] [HACK] Remove MAX_STREAMS usages

Aurelien Jacobs aurel
Mon Aug 9 23:46:41 CEST 2010


On Mon, Aug 09, 2010 at 11:23:20PM +0200, Reimar D?ffinger wrote:
> On Mon, Aug 09, 2010 at 10:45:32PM +0200, Aurelien Jacobs wrote:
> > @@ -1969,6 +1974,7 @@ static int rtsp_read_close(AVFormatContext *s)
> >      ff_rtsp_close_streams(s);
> >      ff_rtsp_close_connections(s);
> >      ff_network_close();
> > +    av_freep(&rt->real_setup_cache);
> 
> Maybe also set the other one to NULL as well?

This shouldn't be useful, but OK, for extra-safety.
Updated patch attached.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: max_stream_rtsp.diff
Type: text/x-diff
Size: 2912 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100809/4db95bb8/attachment.diff>



More information about the ffmpeg-devel mailing list