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
d830264a
Commit
d830264a
authored
Oct 28, 2011
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/pktdumper: update to recent avformat api
parent
d88e9f1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pktdumper.c
tools/pktdumper.c
+3
-3
No files found.
tools/pktdumper.c
View file @
d830264a
...
...
@@ -44,7 +44,7 @@ int main(int argc, char **argv)
{
char
fntemplate
[
PATH_MAX
];
char
pktfilename
[
PATH_MAX
];
AVFormatContext
*
fctx
;
AVFormatContext
*
fctx
=
NULL
;
AVPacket
pkt
;
int64_t
pktnum
=
0
;
int64_t
maxpkts
=
0
;
...
...
@@ -83,9 +83,9 @@ int main(int argc, char **argv)
// register all file formats
av_register_all
();
err
=
av
_open_input_file
(
&
fctx
,
argv
[
1
],
NULL
,
0
,
NULL
);
err
=
av
format_open_input
(
&
fctx
,
argv
[
1
],
NULL
,
NULL
);
if
(
err
<
0
)
{
fprintf
(
stderr
,
"
av_open_input_file
: error %d
\n
"
,
err
);
fprintf
(
stderr
,
"
cannot open input
: 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