diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-19 23:32:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-20 01:53:41 +0200 |
commit | e36830c6959d286f5d55d374119a4a30ca8fad83 (patch) | |
tree | 81fbd4c5f1eeb79a50f1e7f07ac354bc88dc51eb | |
parent | bc2ceeb3ac346ada448f3c9b89b4aecb084571f5 (diff) | |
download | ffmpeg-e36830c6959d286f5d55d374119a4a30ca8fad83.tar.gz |
avcodec/sbc: Fix non static function prefix
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9f1b99e7d076c9de1fefe971f1c70c96ebcf071b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/sbc.c | 2 | ||||
-rw-r--r-- | libavcodec/sbc.h | 2 | ||||
-rw-r--r-- | libavcodec/sbcdec.c | 2 | ||||
-rw-r--r-- | libavcodec/sbcenc.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/sbc.c b/libavcodec/sbc.c index f7dba79f4f..b43b66e3f5 100644 --- a/libavcodec/sbc.c +++ b/libavcodec/sbc.c @@ -52,7 +52,7 @@ static const int sbc_offset8[4][8] = { /* * Calculates the CRC-8 of the first len bits in data */ -uint8_t sbc_crc8(const AVCRC *ctx, const uint8_t *data, size_t len) +uint8_t ff_sbc_crc8(const AVCRC *ctx, const uint8_t *data, size_t len) { size_t byte_length = len >> 3; int bit_length = len & 7; diff --git a/libavcodec/sbc.h b/libavcodec/sbc.h index 405fadc3a6..de9c8d9aed 100644 --- a/libavcodec/sbc.h +++ b/libavcodec/sbc.h @@ -112,7 +112,7 @@ struct sbc_frame { const AVCRC *crc_ctx; }; -uint8_t sbc_crc8(const AVCRC *crc_ctx, const uint8_t *data, size_t len); +uint8_t ff_sbc_crc8(const AVCRC *crc_ctx, const uint8_t *data, size_t len); void ff_sbc_calculate_bits(const struct sbc_frame *frame, int (*bits)[8]); #endif /* AVCODEC_SBC_H */ diff --git a/libavcodec/sbcdec.c b/libavcodec/sbcdec.c index be703382ff..546b38c106 100644 --- a/libavcodec/sbcdec.c +++ b/libavcodec/sbcdec.c @@ -147,7 +147,7 @@ static int sbc_unpack_frame(const uint8_t *data, struct sbc_frame *frame, } } - if (data[3] != sbc_crc8(frame->crc_ctx, crc_header, crc_pos)) + if (data[3] != ff_sbc_crc8(frame->crc_ctx, crc_header, crc_pos)) return -3; ff_sbc_calculate_bits(frame, bits); diff --git a/libavcodec/sbcenc.c b/libavcodec/sbcenc.c index a0064c0e8c..e2929e22ac 100644 --- a/libavcodec/sbcenc.c +++ b/libavcodec/sbcenc.c @@ -156,7 +156,7 @@ static size_t sbc_pack_frame(AVPacket *avpkt, struct sbc_frame *frame, if (crc_pos % 8) crc_header[crc_pos >> 3] <<= 8 - (crc_pos % 8); - avpkt->data[3] = sbc_crc8(frame->crc_ctx, crc_header, crc_pos); + avpkt->data[3] = ff_sbc_crc8(frame->crc_ctx, crc_header, crc_pos); ff_sbc_calculate_bits(frame, bits); |