1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

lavf: deprecate av_close_input_stream().

And remove all its uses.
This commit is contained in:
Anton Khirnov
2011-12-11 10:01:46 +01:00
parent 59826cab8a
commit 3a7f7678eb
6 changed files with 19 additions and 11 deletions

View File

@@ -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;