summaryrefslogtreecommitdiffstats
path: root/libavfilter/af_hdcd.c
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/af_hdcd.c
parente29d2d9c92e19b0caf05a2064d132ccdecdfc3d5 (diff)
downloadffmpeg-streaming-33fc4cc7c6bd68ad899398678af478400c87cebf.zip
ffmpeg-streaming-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/af_hdcd.c')
-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 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);
OpenPOWER on IntegriCloud