mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 09:39:15 +00:00
media-io: Fix FF_API_BUFFER_SIZE_T not being defined on Ubuntu 20.04
This commit is contained in:
parent
e4f004cdf8
commit
ca896dbce7
|
@ -34,6 +34,10 @@
|
||||||
#define CODEC_FLAG_GLOBAL_H CODEC_FLAG_GLOBAL_HEADER
|
#define CODEC_FLAG_GLOBAL_H CODEC_FLAG_GLOBAL_HEADER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef FF_API_BUFFER_SIZE_T
|
||||||
|
#define FF_API_BUFFER_SIZE_T (LIBAVUTIL_VERSION_MAJOR < 57)
|
||||||
|
#endif
|
||||||
|
|
||||||
struct media_remux_job {
|
struct media_remux_job {
|
||||||
int64_t in_size;
|
int64_t in_size;
|
||||||
AVFormatContext *ifmt_ctx, *ofmt_ctx;
|
AVFormatContext *ifmt_ctx, *ofmt_ctx;
|
||||||
|
|
Loading…
Reference in a new issue