From c471ba947a7c6e4e69cb2f0e2e5224fbd721d86c Mon Sep 17 00:00:00 2001 From: rathann Date: Sun, 14 May 2006 22:03:24 +0000 Subject: Fix: ad_hwac3.c:115: warning: initialization from incompatible pointer type This should've been done during liba52 update. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18513 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ad_hwac3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/ad_hwac3.c b/libmpcodecs/ad_hwac3.c index 329c8ca62b..1b6f2da335 100644 --- a/libmpcodecs/ad_hwac3.c +++ b/libmpcodecs/ad_hwac3.c @@ -112,8 +112,8 @@ static int preinit(sh_audio_t *sh) 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; -- cgit v1.2.3