Author: ulion Revision: 25404 Property Name: svn:log Action: modified Property diff: --- old property value +++ new property value @@ -1,3 +1,6 @@ -The buffer used for pread need be aligned, but currently it's not. -This will cause the pread always got random data so can not play vcd. -Fixed by move the buffer ahead in the structure to make sure it's aligned. +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.
participants (1)
-
ulion