Revision ebb92e07 libavformat/rtsp.c

View differences:

libavformat/rtsp.c
498 498
                    url_close_dyn_buf(rtpctx->pb, &ptr);
499 499
                    av_free(ptr);
500 500
                } else {
501
                    url_fclose(rtpctx->pb);
501
                    avio_close(rtpctx->pb);
502 502
                }
503 503
                avformat_free_context(rtpctx);
504 504
            } else if (rt->transport == RTSP_TRANSPORT_RDT && CONFIG_RTPDEC)

Also available in: Unified diff