lavc/tableprint_vlc: Remove avpriv_request_sample() from included files.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Wed, 19 Jun 2019 11:41:01 +0000 (13:41 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sun, 23 Jun 2019 22:19:03 +0000 (00:19 +0200)
Fixes compilation with --enable-hardcoded-tables.
Fixes ticket #7962.

libavcodec/tableprint_vlc.h

index 3004be3..b3ff365 100644 (file)
@@ -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"