mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 11:40:22 +00:00
Libavcodec: do not use VP9 where not available
This commit is contained in:
@@ -43,6 +43,10 @@ extern "C" {
|
||||
#define avcodec_free_context av_freep
|
||||
#endif
|
||||
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55, 28, 0)
|
||||
#define AV_CODEC_ID_VP9 AV_CODEC_ID_NONE
|
||||
#endif
|
||||
|
||||
#if LIBAVCODEC_VERSION_MAJOR < 55
|
||||
#define av_frame_alloc avcodec_alloc_frame
|
||||
#define av_frame_free avcodec_free_frame
|
||||
|
||||
Reference in New Issue
Block a user