]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
rtsp_close_streams frees the auth_b64 line already
authorlu_zero <lu_zero@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 25 Oct 2009 00:41:10 +0000 (00:41 +0000)
committerlu_zero <lu_zero@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 25 Oct 2009 00:41:10 +0000 (00:41 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20370 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/rtsp.c

index 59e537a14f09b6f073334ec31ca4ab69db1da827..2ad0729c5b70761f2457329d2de1f75773bc753e 100644 (file)
@@ -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",