aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-06-19 13:41:01 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-11-15 17:03:09 +0100
commit5e98ede2da98cd4579c13095a8918882e753d08a (patch)
tree459d5d8ea93a97fcfcf29567746c324dd06d5896
parent2bdcfe88973e0dc3cdd95aa62a5810369b8fa06d (diff)
downloadffmpeg-5e98ede2da98cd4579c13095a8918882e753d08a.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) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-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"