aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2016-07-12 12:54:07 -0500
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-14 22:09:00 +0200
commit33fc4cc7c6bd68ad899398678af478400c87cebf (patch)
tree81b39f697ba7cb8304030e15ec0f65a7cc7e1481 /libavfilter
parente29d2d9c92e19b0caf05a2064d132ccdecdfc3d5 (diff)
downloadffmpeg-33fc4cc7c6bd68ad899398678af478400c87cebf.tar.gz
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>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_hdcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 4f6199920d..ff899bb65b 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);