summaryrefslogtreecommitdiffstats
path: root/libavfilter/af_hdcd.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2016-07-12 12:54:06 -0500
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-12 21:39:01 +0200
commit0d8caeb41e5082edfbbb47b4b6402fcae486826f (patch)
tree1e40dd88c96f67bceebca1ecfa6413525b4b5d20 /libavfilter/af_hdcd.c
parent2408f92678f8f0bfbc59ff20817f5369ff482b7b (diff)
downloadffmpeg-streaming-0d8caeb41e5082edfbbb47b4b6402fcae486826f.zip
ffmpeg-streaming-0d8caeb41e5082edfbbb47b4b6402fcae486826f.tar.gz
af_hdcd: integrate() renamed hdcd_integrate() to be consistent with the other function names
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 89012eb..73a0b93 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -883,7 +883,7 @@ static void hdcd_reset(hdcd_state_t *state, unsigned rate)
state->cb7 = 0;
}
-static int integrate(hdcd_state_t *state, int *flag, const int32_t *samples, int count, int stride)
+static int hdcd_integrate(hdcd_state_t *state, int *flag, const int32_t *samples, int count, int stride)
{
uint32_t bits = 0;
int result = FFMIN(state->readahead, count);
@@ -941,7 +941,7 @@ static int hdcd_scan(hdcd_state_t *state, const int32_t *samples, int max, int s
result = 0;
while (result < max) {
int flag;
- int consumed = integrate(state, &flag, samples, max - result, stride);
+ int consumed = hdcd_integrate(state, &flag, samples, max - result, stride);
result += consumed;
if (flag > 0) {
state->sustain = state->sustain_reset;
OpenPOWER on IntegriCloud