diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-12-11 10:01:46 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-12-12 20:21:47 +0100 |
commit | 3a7f7678eb3be1f9a28414c9908ed8d34b1b9846 (patch) | |
tree | 4f74061acc8f586c6273ceea7bdaab77cd9c6e2a /avserver.c | |
parent | 59826cab8ad9f64bf5fd752f52c6acc16815dbb0 (diff) | |
download | ffmpeg-3a7f7678eb3be1f9a28414c9908ed8d34b1b9846.tar.gz |
lavf: deprecate av_close_input_stream().
And remove all its uses.
Diffstat (limited to 'avserver.c')
-rw-r--r-- | avserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avserver.c b/avserver.c index e4d353b559..89e0e6da1d 100644 --- a/avserver.c +++ b/avserver.c @@ -2736,7 +2736,7 @@ static int http_receive_data(HTTPContext *c) /* Now we have the actual streams */ if (s->nb_streams != feed->nb_streams) { - av_close_input_stream(s); + av_close_input_file(s); av_free(pb); http_log("Feed '%s' stream number does not match registered feed\n", c->stream->feed_filename); @@ -2749,7 +2749,7 @@ static int http_receive_data(HTTPContext *c) avcodec_copy_context(fst->codec, st->codec); } - av_close_input_stream(s); + av_close_input_file(s); av_free(pb); } c->buffer_ptr = c->buffer; |