From 33fc4cc7c6bd68ad899398678af478400c87cebf Mon Sep 17 00:00:00 2001 From: Burt P Date: Tue, 12 Jul 2016 12:54:07 -0500 Subject: af_hdcd: fewer false positives by ignoring code_counterC in HDCD detection Signed-off-by: Burt P Signed-off-by: Michael Niedermayer --- libavfilter/af_hdcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/af_hdcd.c') diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c index 4f61999..ff899bb 100644 --- a/libavfilter/af_hdcd.c +++ b/libavfilter/af_hdcd.c @@ -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); -- cgit v1.1