Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-12-22 01:26:51 +0400
committerJustin Ruggles <justin.ruggles@gmail.com>2013-01-08 06:49:05 +0400
commit4d68269d58ca4f6f71b4baa30e0cf9fbde52bbc3 (patch)
tree2f6fc38fd3199db653d4c953d23121df58b61bc5 /libavresample/audio_data.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/audio_data.h')
-rw-r--r--libavresample/audio_data.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavresample/audio_data.h b/libavresample/audio_data.h
index 558e7e67ec..4e53e31c55 100644
--- a/libavresample/audio_data.h
+++ b/libavresample/audio_data.h
@@ -27,11 +27,12 @@
#include "libavutil/log.h"
#include "libavutil/samplefmt.h"
#include "avresample.h"
+#include "internal.h"
/**
* Audio buffer used for intermediate storage between conversion phases.
*/
-typedef struct AudioData {
+struct AudioData {
const AVClass *class; /**< AVClass for logging */
uint8_t *data[AVRESAMPLE_MAX_CHANNELS]; /**< data plane pointers */
uint8_t *buffer; /**< data buffer */
@@ -50,7 +51,7 @@ typedef struct AudioData {
int ptr_align; /**< minimum data pointer alignment */
int samples_align; /**< allocated samples alignment */
const char *name; /**< name for debug logging */
-} AudioData;
+};
int ff_audio_data_set_channels(AudioData *a, int channels);