summaryrefslogtreecommitdiff
path: root/libavcodec/bitstream.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-17 12:16:38 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-21 23:25:36 +0100
commit86c909558ce3e7505d5a63647c27cd0a4314a603 (patch)
tree05296e13d5d68a282271d8e5c950a86db5be015f /libavcodec/bitstream.c
parent495de744fa949eb789441349736bedc2301d0b61 (diff)
avcodec/internal: Move FF_SIGNBIT and ff_log2_run to mathops.h
It is a more fitting place for them. Also move the definition of ff_log2_run to mathtables.c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/bitstream.c')
-rw-r--r--libavcodec/bitstream.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c
index 36a980646d..3606575055 100644
--- a/libavcodec/bitstream.c
+++ b/libavcodec/bitstream.c
@@ -36,15 +36,6 @@
#include "libavutil/intreadwrite.h"
#include "put_bits.h"
-const uint8_t ff_log2_run[41]={
- 0, 0, 0, 0, 1, 1, 1, 1,
- 2, 2, 2, 2, 3, 3, 3, 3,
- 4, 4, 5, 5, 6, 6, 7, 7,
- 8, 9,10,11,12,13,14,15,
-16,17,18,19,20,21,22,23,
-24,
-};
-
void ff_put_string(PutBitContext *pb, const char *string, int terminate_string)
{
while (*string) {