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
428b3698
Commit
428b3698
authored
Jul 04, 2012
by
Anton Khirnov
Browse files
af_amix: only consider negative return codes as errors.
parent
53ddd43f
Changes
1
Hide whitespace changes
Inline
Side-by-side
libavfilter/af_amix.c
View file @
428b3698
...
...
@@ -360,7 +360,7 @@ static int request_samples(AVFilterContext *ctx, int min_samples)
s
->
input_state
[
i
]
=
INPUT_OFF
;
continue
;
}
}
else
if
(
ret
)
}
else
if
(
ret
<
0
)
return
ret
;
}
return
0
;
...
...
@@ -422,7 +422,7 @@ static int request_frame(AVFilterLink *outlink)
return
AVERROR_EOF
;
else
return
AVERROR
(
EAGAIN
);
}
else
if
(
ret
)
}
else
if
(
ret
<
0
)
return
ret
;
}
av_assert0
(
s
->
frame_list
->
nb_frames
>
0
);
...
...
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