summaryrefslogtreecommitdiff
path: root/libavcodec/sonic.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-03 12:35:39 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-06 08:28:02 +0100
commit2b541b8c1d8b214d39c5f86fe8dc3a2aebe08f6d (patch)
treea5ae6de87a523c167a9fe5a39dfbbc7261355d43 /libavcodec/sonic.c
parente228d7b0db7d6cb02a73bee6d3bf4f6ecf92d0bf (diff)
downloadffmpeg-2b541b8c1d8b214d39c5f86fe8dc3a2aebe08f6d.tar.gz
avcodec/golomb: Factor writing golomb codes out
Most users only want to either read or write golomb codes, not both. By splitting these headers one avoids having unnecesssary (get|put)_hits.h inclusions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/sonic.c')
-rw-r--r--libavcodec/sonic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index 63a613f77d..cf1cfb1460 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -23,6 +23,7 @@
#include "get_bits.h"
#include "golomb.h"
#include "internal.h"
+#include "put_golomb.h"
#include "rangecoder.h"