Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
c960e67a
Commit
c960e67a
authored
Aug 26, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated av_find_stream_info() by avformat_find_stream_info().
parent
5f677aac
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
avprobe.c
avprobe.c
+1
-1
avserver.c
avserver.c
+2
-2
seek-test.c
libavformat/seek-test.c
+1
-1
pktdumper.c
tools/pktdumper.c
+2
-2
No files found.
avprobe.c
View file @
c960e67a
...
...
@@ -277,7 +277,7 @@ static int open_input_file(AVFormatContext **fmt_ctx_ptr, const char *filename)
/* fill the streams in the format context */
if
((
err
=
av
_find_stream_info
(
fmt_ctx
))
<
0
)
{
if
((
err
=
av
format_find_stream_info
(
fmt_ctx
,
NULL
))
<
0
)
{
print_error
(
filename
,
err
);
return
err
;
}
...
...
avserver.c
View file @
c960e67a
...
...
@@ -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"
)
&&
av
format_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
(
av
format_find_stream_info
(
infile
,
NULL
)
<
0
)
{
http_log
(
"Could not find codec parameters from '%s'
\n
"
,
stream
->
feed_filename
);
av_close_input_file
(
infile
);
...
...
libavformat/seek-test.c
View file @
c960e67a
...
...
@@ -86,7 +86,7 @@ int main(int argc, char **argv)
exit
(
1
);
}
ret
=
av
_find_stream_info
(
ic
);
ret
=
av
format_find_stream_info
(
ic
,
NULL
);
if
(
ret
<
0
)
{
fprintf
(
stderr
,
"%s: could not find codec parameters
\n
"
,
filename
);
exit
(
1
);
...
...
tools/pktdumper.c
View file @
c960e67a
...
...
@@ -89,9 +89,9 @@ int main(int argc, char **argv)
return
1
;
}
err
=
av
_find_stream_info
(
fctx
);
err
=
av
format_find_stream_info
(
fctx
,
NULL
);
if
(
err
<
0
)
{
fprintf
(
stderr
,
"av_find_stream_info: error %d
\n
"
,
err
);
fprintf
(
stderr
,
"av
format
_find_stream_info: error %d
\n
"
,
err
);
return
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment