mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/signature: fix always true expression
Otherwise since "==" has higher precedence, mode is never checked. Reviewed-by: Jai Luthra <me@jailuthra.in>
This commit is contained in:
parent
6fcb082b7a
commit
fdd45ebf55
|
@ -491,7 +491,7 @@ static MatchingInfo evaluate_parameters(AVFilterContext *ctx, SignatureContext *
|
|||
meandist = (double) goodfcount / (double) distsum;
|
||||
|
||||
if (meandist < minmeandist ||
|
||||
status == STATUS_END_REACHED | STATUS_BEGIN_REACHED ||
|
||||
status == (STATUS_END_REACHED | STATUS_BEGIN_REACHED) ||
|
||||
mode == MODE_FAST){
|
||||
minmeandist = meandist;
|
||||
/* bestcandidate in this iteration */
|
||||
|
|
Loading…
Reference in New Issue