From: kramm Date: Wed, 7 Apr 2004 09:41:04 +0000 (+0000) Subject: nullwriter now keeps track of how many bytes were written X-Git-Tag: stable_core_1~11 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=385fb1fd5f980b87e69770a720e1ce255c9f7b2a;p=swftools.git nullwriter now keeps track of how many bytes were written --- diff --git a/lib/bitio.c b/lib/bitio.c index 61d6ee0..2394121 100644 --- a/lib/bitio.c +++ b/lib/bitio.c @@ -175,6 +175,7 @@ void writer_init_filewriter2(struct writer_t*w, char*filename) static int writer_nullwrite_write(struct writer_t*w, void* data, int len) { + w->pos += len; return len; } static void writer_nullwrite_finish(struct writer_t*w)