diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-12-11 10:38:28 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-12-12 20:34:38 +0100 |
commit | cd3716b9aae7e141e7b4faf9783131809f40991f (patch) | |
tree | 242d19f2239d299454d57879582d1ef0f9fe44ca /libavformat/rtsp.c | |
parent | 526604545fb1cc0c11af356fbffd5cddf8cdc95f (diff) | |
download | ffmpeg-cd3716b9aae7e141e7b4faf9783131809f40991f.tar.gz |
Replace all uses of av_close_input_file() with avformat_close_input().
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 52821545ff..fcf168d426 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -580,8 +580,7 @@ void ff_rtsp_close_streams(AVFormatContext *s) } av_free(rt->rtsp_streams); if (rt->asf_ctx) { - av_close_input_file(rt->asf_ctx); - rt->asf_ctx = NULL; + avformat_close_input(&rt->asf_ctx); } av_free(rt->p); av_free(rt->recvbuf); |