Mercurial > libavformat.hg
diff aviobuf.c @ 1184:5a743f6f836a libavformat
fix regression failure after adler simplification
author | michael |
---|---|
date | Thu, 20 Jul 2006 10:22:07 +0000 |
parents | a887adfe9dc5 |
children | e9bf6926aecf |
line wrap: on
line diff
--- a/aviobuf.c Wed Jul 19 09:38:22 2006 +0000 +++ b/aviobuf.c Thu Jul 20 10:22:07 2006 +0000 @@ -298,7 +298,7 @@ void init_checksum(ByteIOContext *s, unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), unsigned long checksum){ s->update_checksum= update_checksum; if(s->update_checksum){ - s->checksum= s->update_checksum(checksum, NULL, 0); + s->checksum= checksum; s->checksum_ptr= s->buf_ptr; } }