Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-07-20 14:22:07 +0400
committerMichael Niedermayer <michaelni@gmx.at>2006-07-20 14:22:07 +0400
commitccb159940b2c6daaf0c9bf8f0fb8c87317754e1c (patch)
tree35aae8c4c6c8909b146fb66c4022b1d9f4221abf /libavformat/aviobuf.c
parent79dc59b726f73f9464c8d5f74e8a01fab8151836 (diff)
fix regression failure after adler simplification
Originally committed as revision 5803 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 070917d091..b0f8136dce 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -298,7 +298,7 @@ unsigned long get_checksum(ByteIOContext *s){
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;
}
}