summaryrefslogtreecommitdiff
path: root/libswresample/swresample_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-25 00:35:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-25 00:35:10 +0100
commitac6798dbc118a8d63a6e57f8a0120666a2449efa (patch)
tree99946fc15f3b8f8933a1174a2417b28f3dc85204 /libswresample/swresample_internal.h
parentbcae7f432a6db67367211678bb6fe85e0ec74c5d (diff)
swr: fix compilation failure with old versions of gcc.
gcc 4.4 did not like the way i used typedefs Idea-by: beastd Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r--libswresample/swresample_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h
index f53ccd76fe..e3c0b3dd38 100644
--- a/libswresample/swresample_internal.h
+++ b/libswresample/swresample_internal.h
@@ -32,7 +32,7 @@ typedef struct AudioData{
int planar; ///< 1 if planar audio, 0 otherwise
} AudioData;
-typedef struct SwrContext {
+struct SwrContext {
const AVClass *av_class; ///< AVClass used for AVOption and av_log()
int log_level_offset; ///< logging level offset
void *log_ctx; ///< parent logging context
@@ -75,7 +75,7 @@ typedef struct SwrContext {
uint8_t matrix_ch[SWR_CH_MAX][SWR_CH_MAX+1]; ///< Lists of input channels per output channel that have non zero rematrixing coefficients
/* TODO: callbacks for ASM optimizations */
-}SwrContext;
+};
struct ResampleContext *swri_resample_init(struct ResampleContext *, int out_rate, int in_rate, int filter_size, int phase_shift, int linear, double cutoff);
void swri_resample_free(struct ResampleContext **c);