changeset 18512:7c0af53fcd4a

Fix: ad_hwac3.c:115: warning: initialization from incompatible pointer type This should've been done during liba52 update.
author rathann
date Sun, 14 May 2006 22:03:24 +0000
parents 744aa553e4a1
children 9ab0369054dd
files libmpcodecs/ad_hwac3.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_hwac3.c	Sun May 14 20:24:47 2006 +0000
+++ b/libmpcodecs/ad_hwac3.c	Sun May 14 22:03:24 2006 +0000
@@ -112,8 +112,8 @@
 static int init(sh_audio_t *sh_audio)
 {
   /* Dolby AC3 passthrough:*/
-  sample_t *a52_samples = a52_init(0);
-  if(a52_samples == NULL)
+  a52_state_t *a52_state = a52_init(0);
+  if(a52_state == NULL)
   {
     mp_msg(MSGT_DECAUDIO, MSGL_ERR, "A52 init failed\n");
     return 0;