Skip to content

Commit 38e17c2

Browse files
committed
DllSwResample: Add missing includes for stand-alone inclusion.
1 parent 2fd1e6f commit 38e17c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/DllSwResample.h

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "config.h"
2525
#endif
2626
#include "DynamicDll.h"
27+
#include "utils/log.h"
2728

2829
extern "C" {
2930
#ifndef HAVE_MMX
@@ -40,6 +41,8 @@ extern "C" {
4041
#include <libswresample/swresample.h>
4142
#elif HAVE_LIBAVRESAMPLE_AVRESAMPLE_H
4243
#include <libavresample/avresample.h>
44+
#include <libavutil/opt.h>
45+
#include <libavutil/samplefmt.h>
4346
#define SwrContext AVAudioResampleContext
4447
#else
4548
#error "Either libswresample or libavresample is needed!"

0 commit comments

Comments
 (0)