lavc/tableprint_vlc: Remove avpriv_request_sample() from included files. release/4.1
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Wed, 19 Jun 2019 11:41:01 +0000 (13:41 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Fri, 9 Aug 2019 08:20:20 +0000 (10:20 +0200)
Fixes compilation with --enable-hardcoded-tables.
Fixes ticket #7962.

(cherry picked from commit c8232e50074f6f9f9b0674d0a5433f49d73a4e50)

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"