History

Replace deprecated av_find_stream_info() by avformat_find_stream_info().

Diego Biurrun committed 15 years ago

Commit c960e671 parent 5f677aa4 files · +6 −6Browse files

Showing the changes to avserver.c (1 of 4 files). Show all

Unified · Split

avserver.c+2−2
@@ -2162,7 +2162,7 @@ static int open_input_stream(HTTPContext *c, const char *info) · 2161 unmodified lines
21622162 }
21632163 s->flags |= AVFMT_FLAG_GENPTS;
21642164 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) {
21662166 http_log("Could not find stream info '%s'\n", input_filename);
21672167 av_close_input_file(s);
21682168 return -1;
@@ -3621,7 +3621,7 @@ static void build_file_streams(void) · 1452 unmodified lines
36213621 } else {
36223622 /* find all the AVStreams inside and reference them in
36233623 'stream' */
3624− if (av_find_stream_info(infile) < 0) {
3624+ if (avformat_find_stream_info(infile, NULL) < 0) {
36253625 http_log("Could not find codec parameters from '%s'\n",
36263626 stream->feed_filename);
36273627 av_close_input_file(infile);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t