[FFmpeg-cvslog] af_hdcd: fewer false positives by ignoring code_counterC in HDCD detection

Burt P git at videolan.org
Fri Jul 15 02:25:24 CEST 2016


ffmpeg | branch: master | Burt P <pburt0 at gmail.com> | Tue Jul 12 12:54:07 2016 -0500| [33fc4cc7c6bd68ad899398678af478400c87cebf] | committer: Michael Niedermayer

af_hdcd: fewer false positives by ignoring code_counterC in HDCD detection

Signed-off-by: Burt P <pburt0 at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=33fc4cc7c6bd68ad899398678af478400c87cebf
---

 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 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);



More information about the ffmpeg-cvslog mailing list