Replace OPD calls by using the unused uint8_t in device_t to
hold the object size for objects on a certain device.
diff --git a/ChangeLog b/ChangeLog
index a7abefb..1ab1b6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,8 +2,12 @@
* src/libmtp.c: devices which represented file size with a
32bit value (some Creative devices) would return a bananas
- file size. Fixed it up at the cost of many, many OPD
- retrieveals.
+ file size. Fixed it up by recycling the uint8_t "interface"
+ field in the device struct as a holder of the object size
+ for the device. This will make the new library binary
+ compatible with version 0.2.1 since no-one should *ever*
+ dereference that value (which used to be the USB interface
+ number and is now the object size).
* examples/files.c: display 64bit file sizes in hex correctly.
2007-09-29 Richard Low <richard@wentnet.com>