mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-01-10 18:28:47 +00:00
15 lines
520 B
C
15 lines
520 B
C
|
// This compilation unit contains the implementations of libplacebo header-only libraries.
|
||
|
// These must be compiled as C code, so they cannot be placed inside plvk.cpp.
|
||
|
|
||
|
#define PL_LIBAV_IMPLEMENTATION 1
|
||
|
#include <libplacebo/utils/libav.h>
|
||
|
|
||
|
// Provide a dummy implementation of av_stream_get_side_data() to avoid having to link with libavformat
|
||
|
uint8_t *av_stream_get_side_data(const AVStream *stream, enum AVPacketSideDataType type, size_t *size)
|
||
|
{
|
||
|
(void)stream;
|
||
|
(void)type;
|
||
|
(void)size;
|
||
|
return NULL;
|
||
|
}
|