mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-26 04:59:30 +08:00
kill a few warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23063 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -122,7 +122,9 @@ dha_helper_way:
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DHAHELPER
|
||||
dev_mem_way:
|
||||
#endif
|
||||
#ifdef DEV_APERTURE
|
||||
if ((mem_fd = open(DEV_APERTURE, O_RDWR)) == -1)
|
||||
perror("libdha: opening aperture failed");
|
||||
@@ -143,7 +145,9 @@ dev_mem_way:
|
||||
return MAP_FAILED;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DHAHELPER
|
||||
mmap:
|
||||
#endif
|
||||
return mmap(0,size,PROT_READ|PROT_WRITE,MAP_SHARED,mem_fd,base);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user