Fix build errors with FFmpeg5

Origin commit data
------------------
Branch: master
Commit: 7042a6a766
Author: max_10 <max_10@gmx.de>
Date: 2023-01-24 (Tue, 24 Jan 2023)

Origin message was:
------------------
- Fix build errors with FFmpeg5

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2023-01-24 20:57:12 +01:00
committed by vanhofen
parent 6b8b86e750
commit 01dc8379a1
4 changed files with 10 additions and 1 deletions

View File

@@ -9,6 +9,10 @@
#include <libavformat/avformat.h>
#include <libswresample/swresample.h>
#include <libavutil/opt.h>
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(59, 0, 100)
#include <libavcodec/bsf.h>
#include <libavcodec/avcodec.h>
#endif
typedef enum
{