[02/12] libopencore-amr: Make the opaque encoder pointer a void*

Message ID 1302645498-12642-2-git-send-email-martin@martin.st
State Committed
Commit 57ddffe843b17b741859f9e669433d086dcec09c
Headers show

Commit Message

Martin Storsjö April 12, 2011, 9:58 p.m.
---
 libavcodec/libopencore-amr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Ronald Bultje April 12, 2011, 11:34 p.m. | #1
Hi,

On Tue, Apr 12, 2011 at 5:58 PM, Martin Storsjö <martin@martin.st> wrote:
> ---
>  libavcodec/libopencore-amr.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
> index c11c924..52dfe10 100644
> --- a/libavcodec/libopencore-amr.c
> +++ b/libavcodec/libopencore-amr.c
> @@ -73,7 +73,7 @@ static int getBitrateMode(int bitrate)
>  typedef struct AMRContext {
>     int   frameCount;
>     void *decState;
> -    int  *enstate;
> +    void *enstate;
>     int   enc_bitrate;
>  } AMRContext;

OK.

Ronald

Patch

diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index c11c924..52dfe10 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -73,7 +73,7 @@  static int getBitrateMode(int bitrate)
 typedef struct AMRContext {
     int   frameCount;
     void *decState;
-    int  *enstate;
+    void *enstate;
     int   enc_bitrate;
 } AMRContext;