diff options
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 62311cbb23..a24f12bacf 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -498,7 +498,7 @@ void ff_rtsp_undo_setup(AVFormatContext *s) url_close_dyn_buf(rtpctx->pb, &ptr); av_free(ptr); } else { - url_fclose(rtpctx->pb); + avio_close(rtpctx->pb); } avformat_free_context(rtpctx); } else if (rt->transport == RTSP_TRANSPORT_RDT && CONFIG_RTPDEC) |