mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-08 13:25:26 +08:00
61eab021ba
* [discordcoreapi] Fix compilation with ffmpeg. * Update versions.
15 lines
347 B
Diff
15 lines
347 B
Diff
diff --git a/Source/AudioDecoder.cpp b/Source/AudioDecoder.cpp
|
|
index 42bd4543..ff210878 100644
|
|
--- a/Source/AudioDecoder.cpp
|
|
+++ b/Source/AudioDecoder.cpp
|
|
@@ -25,7 +25,9 @@
|
|
|
|
#include <discordcoreapi/Utilities.hpp>
|
|
#include <discordcoreapi/AudioDecoder.hpp>
|
|
+extern "C" {
|
|
#include <libavcodec/avcodec.h>
|
|
+}
|
|
|
|
namespace DiscordCoreInternal {
|
|
|