diff options
author | James Almer <jamrial@gmail.com> | 2016-01-07 19:59:03 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-01-07 20:04:24 -0300 |
commit | 28d5a3a74aee33786673925a46a310c773e94748 (patch) | |
tree | 7aefda60e72e310798accd4f9ccda8a9218de686 /libavcodec/ccaption_dec.c | |
parent | a1136ca973e3b216804d05bbf64fcc19ad0f14da (diff) | |
download | ffmpeg-28d5a3a74aee33786673925a46a310c773e94748.tar.gz |
lavu: rename and move ff_parity to av_parity
av_popcount is not defined in intmath.h.
Reviewed-by: ubitux
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/ccaption_dec.c')
-rw-r--r-- | libavcodec/ccaption_dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c index bdfe35fe70..310f25ef8b 100644 --- a/libavcodec/ccaption_dec.c +++ b/libavcodec/ccaption_dec.c @@ -202,10 +202,10 @@ static int validate_cc_data_pair(uint8_t *cc_data_pair) // if EIA-608 data then verify parity. if (cc_type==0 || cc_type==1) { - if (!ff_parity(cc_data_pair[2])) { + if (!av_parity(cc_data_pair[2])) { return AVERROR_INVALIDDATA; } - if (!ff_parity(cc_data_pair[1])) { + if (!av_parity(cc_data_pair[1])) { cc_data_pair[1]=0x7F; } } |