mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 09:40:30 +00:00
AV_CODEC_CAP_OTHER_THREADS compat
AV_CODEC_CAP_OTHER_THREADS was AV_CODEC_CAP_AUTO_THREADS in older libavcodec versions.
This commit is contained in:
@@ -156,6 +156,10 @@ extern "C" {
|
||||
#define AVCODECCTX_CHANNELS(context) (context)->channels
|
||||
#endif
|
||||
|
||||
#ifndef AV_CODEC_CAP_OTHER_THREADS
|
||||
#define AV_CODEC_CAP_OTHER_THREADS AV_CODEC_CAP_AUTO_THREADS
|
||||
#endif
|
||||
|
||||
#if LIBAVCODEC_VERSION_INT <= AV_VERSION_INT(57, 8, 0)
|
||||
static struct AVPacket *av_packet_alloc(void) ATTRIBUTE(unused);
|
||||
static struct AVPacket *av_packet_alloc() {
|
||||
|
||||
Reference in New Issue
Block a user