diff options
author | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-05-14 22:03:24 +0000 |
---|---|---|
committer | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-05-14 22:03:24 +0000 |
commit | c471ba947a7c6e4e69cb2f0e2e5224fbd721d86c (patch) | |
tree | 0620ec396a5fdbff07df3299e480e5f8588dfcd2 | |
parent | fa6d253ddb95be8f3e0ad5972c7a719eb1beb610 (diff) | |
download | mpv-c471ba947a7c6e4e69cb2f0e2e5224fbd721d86c.tar.bz2 mpv-c471ba947a7c6e4e69cb2f0e2e5224fbd721d86c.tar.xz |
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
-rw-r--r-- | libmpcodecs/ad_hwac3.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |