Showing the changes to avserver.c (1 of 4 files). Show all
Unified · Split
| @@ -2162,7 +2162,7 @@ static int open_input_stream(HTTPContext *c, const char *info) · 2161 unmodified lines | ||
| 2162 | 2162 | } |
| 2163 | 2163 | s->flags |= AVFMT_FLAG_GENPTS; |
| 2164 | 2164 | c->fmt_in = s; |
| 2165 | − if (strcmp(s->iformat->name, "ffm") && av_find_stream_info(c->fmt_in) < 0) { | |
| 2165 | + if (strcmp(s->iformat->name, "ffm") && avformat_find_stream_info(c->fmt_in, NULL) < 0) { | |
| 2166 | 2166 | http_log("Could not find stream info '%s'\n", input_filename); |
| 2167 | 2167 | av_close_input_file(s); |
| 2168 | 2168 | return -1; |
| @@ -3621,7 +3621,7 @@ static void build_file_streams(void) · 1452 unmodified lines | ||
| 3621 | 3621 | } else { |
| 3622 | 3622 | /* find all the AVStreams inside and reference them in |
| 3623 | 3623 | 'stream' */ |
| 3624 | − if (av_find_stream_info(infile) < 0) { | |
| 3624 | + if (avformat_find_stream_info(infile, NULL) < 0) { | |
| 3625 | 3625 | http_log("Could not find codec parameters from '%s'\n", |
| 3626 | 3626 | stream->feed_filename); |
| 3627 | 3627 | av_close_input_file(infile); |