mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
avcodec/tableprint_vlc: Fix building with hardcoded tables
This has been broken in 25c8507818
,
because the hacks for headers that are incompatible with building
for the host in libavcodec/tableprint_vlc.h have not been adjusted.
Moving AV_INPUT_BUFFER_PADDING_SIZE to defs.h which is valid for
both the target as well as the host allowed to remove some of the hacks.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
69aa2488fc
commit
5be809fed9
@ -33,9 +33,7 @@
|
||||
#define av_realloc_f(p, o, n) NULL
|
||||
#define av_free(p) while(0)
|
||||
#define av_freep(p) while(0)
|
||||
#define AVCODEC_AVCODEC_H
|
||||
#define AVCODEC_INTERNAL_H
|
||||
#define AV_INPUT_BUFFER_PADDING_SIZE 64 // the value does not matter for this
|
||||
#define AVUTIL_INTERNAL_H
|
||||
#define avpriv_request_sample(...)
|
||||
#include "tableprint.h"
|
||||
#include "get_bits.h"
|
||||
|
Loading…
Reference in New Issue
Block a user