af_hdcd: fewer false positives by ignoring code_counterC in HDCD detection

Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Burt P 2016-07-12 12:54:07 -05:00 committed by Michael Niedermayer
parent e29d2d9c92
commit 33fc4cc7c6
1 changed files with 1 additions and 1 deletions

View File

@ -1094,7 +1094,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
s->uses_peak_extend |= !!state->count_peak_extend;
s->uses_transient_filter |= !!state->count_transient_filter;
s->max_gain_adjustment = FFMIN(s->max_gain_adjustment, GAINTOFLOAT(state->max_gain));
s->hdcd_detected |= state->code_counterC || state->code_counterB || state->code_counterA;
s->hdcd_detected |= state->code_counterB || state->code_counterA;
}
av_frame_free(&in);