diff options
author | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-15 12:17:51 +0000 |
---|---|---|
committer | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-15 12:17:51 +0000 |
commit | 9c189c49bfeb1f07753952734881218af3d2358d (patch) | |
tree | 8ab959b0eff17f466a5c1b2f52aa6252d57aeec9 /liba52/a52_internal.h | |
parent | 25a4519cd9a8ce945e61e9bedf91188c9655f74e (diff) |
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 'liba52/a52_internal.h')
0 files changed, 0 insertions, 0 deletions