ossp-pkg/sio/al.c 1.29 -> 1.30
--- al.c 2002/10/22 15:33:16 1.29
+++ al.c 2002/10/23 13:59:30 1.30
@@ -354,6 +354,12 @@
} else {
/* reverse search */
pos = al->bytes;
+ /* seek to EOF position is ok */
+ if (pos == off) {
+ *alcp = NULL;
+ *skipp = 0;
+ return AL_OK;
+ }
FOREACHR(al,chunks,cur) {
chunksize = AL_CHUNK_LEN(cur);
end = pos;
|
|