[FFmpeg-cvslog] lavc/tableprint_vlc: Remove avpriv_request_sample() from included files.

Carl Eugen Hoyos git at videolan.org
Fri Aug 9 11:21:30 EEST 2019


ffmpeg | branch: release/4.1 | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Wed Jun 19 13:41:01 2019 +0200| [02537719538b71cb2b51fdb4a59c99fd9dbd2d09] | committer: Carl Eugen Hoyos

lavc/tableprint_vlc: Remove avpriv_request_sample() from included files.

Fixes compilation with --enable-hardcoded-tables.
Fixes ticket #7962.

(cherry picked from commit c8232e50074f6f9f9b0674d0a5433f49d73a4e50)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=02537719538b71cb2b51fdb4a59c99fd9dbd2d09
---

 libavcodec/tableprint_vlc.h | 1 +
 1 file changed, 1 insertion(+)

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"



More information about the ffmpeg-cvslog mailing list