Stuff
public text v1 · immutableIndex: aviobuf.c
===================================================================
--- aviobuf.c (revision 9098)
+++ aviobuf.c (working copy)
@@ -161,7 +161,13 @@
void url_fskip(ByteIOContext *s, offset_t offset)
{
- url_fseek(s, offset, SEEK_CUR);
+ if (offset < 16384)
+ {
+ static unsigned char fskipbuf[16384];
+ get_buffer(s, fskipbuf, offset);
+ }
+ else
+ url_fseek(s, offset, SEEK_CUR);
}
offset_t url_ftell(ByteIOContext *s)