diff --git a/vpx/vp8dx.h b/vpx/vp8dx.h index 97f111d697db6f6e23a2581652fe98968e818e67..7d250ccae8eb95403c1e6f52cbfdc7aa83d63dce 100644 --- a/vpx/vp8dx.h +++ b/vpx/vp8dx.h @@ -75,15 +75,12 @@ enum vp8_dec_control_id { VP8_DECODER_CTRL_ID_MAX }; - -/*Decrypt n bytes of data from input -> output, using the decrypt_state - passed in VP8D_SET_DECRYPTOR. -*/ -typedef void (vp8_decrypt_cb)(void *decrypt_state, const unsigned char *input, - unsigned char *output, int count); - typedef struct vp8_decrypt_init { - vp8_decrypt_cb *decrypt_cb; + /** Decrypt n bytes of data from input -> output, using the decrypt_state + * passed in VP8D_SET_DECRYPTOR. + */ + void (*decrypt_cb)(void *decrypt_state, const unsigned char *input, + unsigned char *output, int count); void *decrypt_state; } vp8_decrypt_init;