Displaying 2 results from an estimated 2 matches for "a8c1476".
Did you mean:
801476
2009 May 04
1
[PATCH] oggz: inefficient seeking
...ot;
PRI_OGGZ_OFF_T="l"
elif test $SIZEOF_OGGZ_OFF_T = 8 ; then
- PRI_OGGZ_OFF_T=PRId64
+ PRI_OGGZ_OFF_T="ll"
fi
dnl The following configured variables are written into the public header
diff --git a/src/liboggz/oggz_seek.c b/src/liboggz/oggz_seek.c
index c46f0ab..a8c1476 100644
--- a/src/liboggz/oggz_seek.c
+++ b/src/liboggz/oggz_seek.c
@@ -506,9 +506,15 @@ guess (ogg_int64_t unit_at, ogg_int64_t unit_target,
if (unit_at == unit_begin) return offset_begin;
- guess_ratio =
- GUESS_MULTIPLIER * (unit_target - unit_begin) /
- (unit_at - unit_begin);
+ i...
2009 May 15
0
[PATCH] oggz: limit seeking to specified range
...+ogg_int64_t
+oggz_bounded_seek_set (OGGZ * oggz,
+ ogg_int64_t unit_target,
+ ogg_int64_t offset_begin,
+ ogg_int64_t offset_end);
+
#endif /* __OGGZ_SEEK_H__ */
diff --git a/src/liboggz/oggz_seek.c b/src/liboggz/oggz_seek.c
index a8c1476..faa08f0 100644
--- a/src/liboggz/oggz_seek.c
+++ b/src/liboggz/oggz_seek.c
@@ -604,205 +604,182 @@ oggz_offset_end (OGGZ * oggz)
if (oggz_io_seek (oggz, offset_save, SEEK_SET) == -1) {
return -1; /* fubar */
}
}
return offset_end;
}
-static ogg_int64_t
-oggz_seek_se...