Revision aeb2de1c libavformat/rtsp.c

View differences:

libavformat/rtsp.c
1271 1271
    return 0;
1272 1272

  
1273 1273
fail:
1274
    for (i = 0; i < rt->nb_rtsp_streams; i++) {
1275
        if (rt->rtsp_streams[i]->rtp_handle) {
1276
            url_close(rt->rtsp_streams[i]->rtp_handle);
1277
            rt->rtsp_streams[i]->rtp_handle = NULL;
1278
        }
1279
    }
1274
    ff_rtsp_undo_setup(s);
1280 1275
    return err;
1281 1276
}
1282 1277

  

Also available in: Unified diff