mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 05:17:42 +00:00
avutil/crc_internal: mark xnmodp as av_unused
Fixes -Wunused-function in checkheaders. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
1 file changed
+3
-1
@@ -20,6 +20,7 @@
|
||||
#define AVUTIL_CRC_INTERNAL_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/reverse.h"
|
||||
|
||||
static uint64_t reverse(uint64_t p, unsigned int deg)
|
||||
@@ -35,7 +36,8 @@ static uint64_t reverse(uint64_t p, unsigned int deg)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static uint64_t xnmodp(unsigned n, uint64_t poly, unsigned deg, uint64_t *div, int bitreverse)
|
||||
av_unused static uint64_t xnmodp(unsigned n, uint64_t poly, unsigned deg,
|
||||
uint64_t *div, int bitreverse)
|
||||
{
|
||||
uint64_t mod, mask, high;
|
||||
|
||||
|
||||
Reference in new issue
Block a user