summaryrefslogtreecommitdiff
path: root/libavresample/internal.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-12-21 16:26:51 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2013-01-07 21:49:05 -0500
commit4d68269d58ca4f6f71b4baa30e0cf9fbde52bbc3 (patch)
tree2f6fc38fd3199db653d4c953d23121df58b61bc5 /libavresample/internal.h
parent6042a12174e58f7cfca47de56c372b4164d270ba (diff)
lavr: typedef internal structs in internal.h
Simplifies header dependencies by not including all other internal headers in internal.h.
Diffstat (limited to 'libavresample/internal.h')
-rw-r--r--libavresample/internal.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libavresample/internal.h b/libavresample/internal.h
index 2e139abf2b..c094f08f49 100644
--- a/libavresample/internal.h
+++ b/libavresample/internal.h
@@ -26,10 +26,11 @@
#include "libavutil/opt.h"
#include "libavutil/samplefmt.h"
#include "avresample.h"
-#include "audio_convert.h"
-#include "audio_data.h"
-#include "audio_mix.h"
-#include "resample.h"
+
+typedef struct AudioData AudioData;
+typedef struct AudioConvert AudioConvert;
+typedef struct AudioMix AudioMix;
+typedef struct ResampleContext ResampleContext;
struct AVAudioResampleContext {
const AVClass *av_class; /**< AVClass for logging and AVOptions */