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
7ebf1b4a
Commit
7ebf1b4a
authored
Jan 02, 2016
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: Simplify poll_filters() return value check
Signed-off-by:
Luca Barbato
<
lu_zero@gentoo.org
>
parent
2080bea4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
avconv.c
avconv.c
+5
-9
No files found.
avconv.c
View file @
7ebf1b4a
...
@@ -2556,16 +2556,12 @@ static int transcode(void)
...
@@ -2556,16 +2556,12 @@ static int transcode(void)
}
}
ret
=
poll_filters
();
ret
=
poll_filters
();
if
(
ret
<
0
)
{
if
(
ret
<
0
&&
(
ret
!=
AVERROR_EOF
||
ret
!=
AVERROR
(
EAGAIN
)))
{
if
(
ret
==
AVERROR_EOF
||
ret
==
AVERROR
(
EAGAIN
))
{
char
errbuf
[
128
];
continue
;
av_strerror
(
ret
,
errbuf
,
sizeof
(
errbuf
));
}
else
{
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
"
,
errbuf
);
break
;
break
;
}
}
}
/* dump report by using the output first video and audio streams */
/* dump report by using the output first video and audio streams */
...
...
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