summaryrefslogtreecommitdiff
path: root/libavformat/sapdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-12-11 10:38:28 +0100
committerAnton Khirnov <anton@khirnov.net>2011-12-12 20:34:38 +0100
commitcd3716b9aae7e141e7b4faf9783131809f40991f (patch)
tree242d19f2239d299454d57879582d1ef0f9fe44ca /libavformat/sapdec.c
parent526604545fb1cc0c11af356fbffd5cddf8cdc95f (diff)
Replace all uses of av_close_input_file() with avformat_close_input().
Diffstat (limited to 'libavformat/sapdec.c')
-rw-r--r--libavformat/sapdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c
index 6ac7bfd484..531cfd204d 100644
--- a/libavformat/sapdec.c
+++ b/libavformat/sapdec.c
@@ -52,7 +52,7 @@ static int sap_read_close(AVFormatContext *s)
{
struct SAPState *sap = s->priv_data;
if (sap->sdp_ctx)
- av_close_input_file(sap->sdp_ctx);
+ avformat_close_input(&sap->sdp_ctx);
if (sap->ann_fd)
ffurl_close(sap->ann_fd);
av_freep(&sap->sdp);