[FFmpeg-devel] [HACK] Remove MAX_STREAMS usages

Reimar Döffinger Reimar.Doeffinger
Mon Aug 9 23:23:20 CEST 2010


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?



More information about the ffmpeg-devel mailing list