[SCM] libav/experimental: rtsp_close_streams frees the auth_b64 line already

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:53:34 UTC 2013


The following commit has been merged in the experimental branch:
commit 7549632bdad8c50b7a58281f15e72b6fd5a1ed5d
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Sun Oct 25 00:41:10 2009 +0000

    rtsp_close_streams frees the auth_b64 line already
    
    Originally committed as revision 20370 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 59e537a..2ad0729 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1340,7 +1340,6 @@ static int rtsp_read_header(AVFormatContext *s,
     rtsp_close_streams(rt);
     av_freep(&content);
     url_close(rt->rtsp_hd);
-    av_freep(&rt->auth_b64);
     if (reply->status_code >=300 && reply->status_code < 400) {
         av_strlcpy(s->filename, reply->location, sizeof(s->filename));
         av_log(s, AV_LOG_INFO, "Status %d: Redirecting to %s\n",

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list