diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-11-01 12:23:48 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-11-02 19:20:03 +0100 |
commit | c9b59548510845e668b6e87c1f69e62302f93d56 (patch) | |
tree | 8ab88c22e961a53bac4dcb7901a6b6016b4ea85b /libaf/af_export.c | |
parent | 596e12fcb26e3bad65e91e635796a3bbf051a719 (diff) | |
download | mpv-c9b59548510845e668b6e87c1f69e62302f93d56.tar.bz2 mpv-c9b59548510845e668b6e87c1f69e62302f93d56.tar.xz |
audio: untypedef af_instance
Diffstat (limited to 'libaf/af_export.c')
-rw-r--r-- | libaf/af_export.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libaf/af_export.c b/libaf/af_export.c index 110c46eb66..441ec31ac3 100644 --- a/libaf/af_export.c +++ b/libaf/af_export.c @@ -64,7 +64,7 @@ typedef struct af_export_s cmd control command arg argument */ -static int control(struct af_instance_s* af, int cmd, void* arg) +static int control(struct af_instance* af, int cmd, void* arg) { af_export_t* s = af->setup; switch (cmd){ @@ -173,7 +173,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg) /* Free allocated memory and clean up other stuff too. af audio filter instance */ -static void uninit( struct af_instance_s* af ) +static void uninit( struct af_instance* af ) { free(af->data); af->data = NULL; @@ -201,7 +201,7 @@ static void uninit( struct af_instance_s* af ) af audio filter instance data audio data */ -static struct mp_audio* play( struct af_instance_s* af, struct mp_audio* data ) +static struct mp_audio* play( struct af_instance* af, struct mp_audio* data ) { struct mp_audio* c = data; // Current working data af_export_t* s = af->setup; // Setup for this instance @@ -246,7 +246,7 @@ static struct mp_audio* play( struct af_instance_s* af, struct mp_audio* data ) af audio filter instance returns AF_OK or AF_ERROR */ -static int af_open( af_instance_t* af ) +static int af_open( struct af_instance* af ) { af->control = control; af->uninit = uninit; |