shithub: libvpx

Download patch

ref: b1caa7c59cca3767c9288f2fcf5da2b3acd834e0
parent: d1bfa55d688beb3c9520b5cee5ad47fb7369de18
parent: ccd9886ddc11d6d4a5c286c686d17a0157abb780
author: Dmitry Kovalev <dkovalev@google.com>
date: Mon Jun 17 10:40:29 EDT 2013

Merge "Fixing compilation error on Mac OS."

--- a/vpx/vp8dx.h
+++ b/vpx/vp8dx.h
@@ -75,15 +75,12 @@
   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;
 
--