decoder/ffmpeg: Fix build error with ffmpeg 6.1
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1898
This commit is contained in:
parent
7a939746ae
commit
50c1e3738a
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
ver 0.23.15 (not yet released)
|
||||
* decoder
|
||||
- ffmpeg: fix build failure with FFmpeg 6.1
|
||||
|
||||
ver 0.23.14 (2023/10/08)
|
||||
* decoder
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
|
||||
extern "C" {
|
||||
#include <libavutil/mem.h>
|
||||
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(58, 29, 100)
|
||||
#include <libavutil/error.h>
|
||||
#endif
|
||||
}
|
||||
|
||||
AvioStream::~AvioStream()
|
||||
|
|
Loading…
Reference in New Issue