mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 14:50:07 +00:00
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
This commit is contained in:
parent
fa6d253ddb
commit
c471ba947a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user