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
82e74ee6
Commit
82e74ee6
authored
Dec 02, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/examples/filtering: make use of av_err2str()
Simplify.
parent
7b2534b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
filtering_audio.c
doc/examples/filtering_audio.c
+1
-3
filtering_video.c
doc/examples/filtering_video.c
+1
-3
No files found.
doc/examples/filtering_audio.c
View file @
82e74ee6
...
...
@@ -254,9 +254,7 @@ end:
av_frame_free
(
&
filt_frame
);
if
(
ret
<
0
&&
ret
!=
AVERROR_EOF
)
{
char
buf
[
1024
];
av_strerror
(
ret
,
buf
,
sizeof
(
buf
));
fprintf
(
stderr
,
"Error occurred: %s
\n
"
,
buf
);
fprintf
(
stderr
,
"Error occurred: %s
\n
"
,
av_err2str
(
ret
));
exit
(
1
);
}
...
...
doc/examples/filtering_video.c
View file @
82e74ee6
...
...
@@ -243,9 +243,7 @@ end:
av_frame_free
(
&
filt_frame
);
if
(
ret
<
0
&&
ret
!=
AVERROR_EOF
)
{
char
buf
[
1024
];
av_strerror
(
ret
,
buf
,
sizeof
(
buf
));
fprintf
(
stderr
,
"Error occurred: %s
\n
"
,
buf
);
fprintf
(
stderr
,
"Error occurred: %s
\n
"
,
av_err2str
(
ret
));
exit
(
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