Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-17 13:33:02 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-22 01:25:36 +0300
commit495de744fa949eb789441349736bedc2301d0b61 (patch)
treea30a6cd44d412db3d61f202fdf5c629bfad8d650 /libavcodec/tableprint_vlc.h
parentb303f1e08335bb6ab4c4e58ec3771ae2cac2b33f (diff)
avcodec/bitstream: Move code for initializing VLCs to file of its own
bitstream.c is currently the disjoint union of three parts: The first part is ff_log2_run, the second part are some auxiliary functions for the PutBits-API; and the third part is the code for creating VLCs. This commit moves the latter into a file of its own. This has the advantage of making one of the hacks in tableprint_vlc.h redundant as vlc.c does not include config.h (whereas the PutBits-API part does). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/tableprint_vlc.h')
-rw-r--r--libavcodec/tableprint_vlc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/tableprint_vlc.h b/libavcodec/tableprint_vlc.h
index 924f97b466..d53ae5799f 100644
--- a/libavcodec/tableprint_vlc.h
+++ b/libavcodec/tableprint_vlc.h
@@ -23,7 +23,6 @@
#ifndef AVCODEC_TABLEPRINT_VLC_H
#define AVCODEC_TABLEPRINT_VLC_H
-#define FFMPEG_CONFIG_H
#define AVUTIL_LOG_H
#define av_log(a, ...) while(0)
#define ff_dlog(a, ...) while(0)
@@ -37,9 +36,8 @@
#define avpriv_request_sample(...)
#include "tableprint.h"
#include "vlc.h"
-#include "mathtables.c"
#include "libavutil/reverse.c"
-#include "bitstream.c"
+#include "vlc.c"
#define REPLACE_DEFINE2(type) write_##type##_array
#define REPLACE_DEFINE(type) REPLACE_DEFINE2(type)