diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-08-26 17:40:07 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-08-26 17:40:07 +0200 |
commit | c960e67ad0f6b318a5f229bb662c899e7e7570d8 (patch) | |
tree | 06a910110a22a49f13601074ad446532cde22150 /avserver.c | |
parent | 5f677aac7687a5ceac45b53be5e8fe6ebf07c34d (diff) | |
download | ffmpeg-c960e67ad0f6b318a5f229bb662c899e7e7570d8.tar.gz |
Replace deprecated av_find_stream_info() by avformat_find_stream_info().
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 f31b8ddb01..2b028a3f4e 100644 --- a/avserver.c +++ b/avserver.c @@ -2162,7 +2162,7 @@ static int open_input_stream(HTTPContext *c, const char *info) } s->flags |= AVFMT_FLAG_GENPTS; c->fmt_in = s; - if (strcmp(s->iformat->name, "ffm") && av_find_stream_info(c->fmt_in) < 0) { + if (strcmp(s->iformat->name, "ffm") && avformat_find_stream_info(c->fmt_in, NULL) < 0) { http_log("Could not find stream info '%s'\n", input_filename); av_close_input_file(s); return -1; @@ -3621,7 +3621,7 @@ static void build_file_streams(void) } else { /* find all the AVStreams inside and reference them in 'stream' */ - if (av_find_stream_info(infile) < 0) { + if (avformat_find_stream_info(infile, NULL) < 0) { http_log("Could not find codec parameters from '%s'\n", stream->feed_filename); av_close_input_file(infile); |