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
fa0c9d69
Commit
fa0c9d69
authored
Feb 26, 2018
by
Tobias Rapp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fftools/ffmpeg: replace call to av_strerror with av_err2str
Signed-off-by:
Tobias Rapp
<
t.rapp@noa-archive.com
>
parent
e3851f6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
ffmpeg.c
fftools/ffmpeg.c
+2
-8
No files found.
fftools/ffmpeg.c
View file @
fa0c9d69
...
...
@@ -2175,10 +2175,7 @@ static int ifilter_send_frame(InputFilter *ifilter, AVFrame *frame)
ret
=
reap_filters
(
1
);
if
(
ret
<
0
&&
ret
!=
AVERROR_EOF
)
{
char
errbuf
[
128
];
av_strerror
(
ret
,
errbuf
,
sizeof
(
errbuf
));
av_log
(
NULL
,
AV_LOG_ERROR
,
"Error while filtering: %s
\n
"
,
errbuf
);
av_log
(
NULL
,
AV_LOG_ERROR
,
"Error while filtering: %s
\n
"
,
av_err2str
(
ret
));
return
ret
;
}
...
...
@@ -4638,10 +4635,7 @@ static int transcode(void)
ret
=
transcode_step
();
if
(
ret
<
0
&&
ret
!=
AVERROR_EOF
)
{
char
errbuf
[
128
];
av_strerror
(
ret
,
errbuf
,
sizeof
(
errbuf
));
av_log
(
NULL
,
AV_LOG_ERROR
,
"Error while filtering: %s
\n
"
,
errbuf
);
av_log
(
NULL
,
AV_LOG_ERROR
,
"Error while filtering: %s
\n
"
,
av_err2str
(
ret
));
break
;
}
...
...
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