Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
5417efbb
Commit
5417efbb
authored
Jul 16, 2012
by
Anton Khirnov
Browse files
avconv: print an error message when demuxing fails.
Also exit in such a case if -xerror is used. Fixes bug 329.
parent
0b40153d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
avconv.c
avconv.c
+5
-0
No files found.
avconv.c
View file @
5417efbb
...
...
@@ -3000,6 +3000,11 @@ static int transcode(void)
continue
;
}
if
(
ret
<
0
)
{
if
(
ret
!=
AVERROR_EOF
)
{
print_error
(
is
->
filename
,
ret
);
if
(
exit_on_error
)
exit_program
(
1
);
}
input_files
[
file_index
]
->
eof_reached
=
1
;
for
(
i
=
0
;
i
<
input_files
[
file_index
]
->
nb_streams
;
i
++
)
{
...
...
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