summaryrefslogtreecommitdiffstats
path: root/stream/dvbin.h
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-15 12:17:51 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-15 12:17:51 +0000
commit9c189c49bfeb1f07753952734881218af3d2358d (patch)
tree8ab959b0eff17f466a5c1b2f52aa6252d57aeec9 /stream/dvbin.h
parent25a4519cd9a8ce945e61e9bedf91188c9655f74e (diff)
downloadmpv-9c189c49bfeb1f07753952734881218af3d2358d.tar.bz2
mpv-9c189c49bfeb1f07753952734881218af3d2358d.tar.xz
The buffer used for pread need be aligned, but currently it got an offset 23
to the structure head. This will cause the pread always got random data on some machines (such as my iMac G5 PPC with 10.5 os) so can not play vcd. I also tried use DKIOCCDREAD ioctl call, but the result is same -- buffer need be aligned. It could be a bug of os x or its dev lib. Now fix this problem by move the buffer to a good aligned position in structure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25404 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/dvbin.h')
0 files changed, 0 insertions, 0 deletions