[FFmpeg-devel] [PATCH 2/5] af_hdcd: fewer false positives by ignoring code_counterC in HDCD detection
Burt P
pburt0 at gmail.com
Tue Jul 12 20:54:07 EEST 2016
Signed-off-by: Burt P <pburt0 at gmail.com>
---
libavfilter/af_hdcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 73a0b93..48f87f6 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);
--
2.7.4
More information about the ffmpeg-devel
mailing list