aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-06-19 13:41:01 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-08-09 10:20:20 +0200
commit02537719538b71cb2b51fdb4a59c99fd9dbd2d09 (patch)
tree38697dc8f72deb4877782cb1251c1d18861a5873 /libavcodec
parenta12e40e0213fa221dd08f0bd09423afcc667313c (diff)
downloadffmpeg-02537719538b71cb2b51fdb4a59c99fd9dbd2d09.tar.gz
lavc/tableprint_vlc: Remove avpriv_request_sample() from included files.
Fixes compilation with --enable-hardcoded-tables. Fixes ticket #7962. (cherry picked from commit c8232e50074f6f9f9b0674d0a5433f49d73a4e50)
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/tableprint_vlc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tableprint_vlc.h b/libavcodec/tableprint_vlc.h
index 3004be3f9c..b3ff36562b 100644
--- a/libavcodec/tableprint_vlc.h
+++ b/libavcodec/tableprint_vlc.h
@@ -36,6 +36,7 @@
#define AVCODEC_AVCODEC_H
#define AVCODEC_INTERNAL_H
#define AV_INPUT_BUFFER_PADDING_SIZE 64 // the value does not matter for this
+#define avpriv_request_sample(...)
#include "tableprint.h"
#include "get_bits.h"
#include "mathtables.c"