summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/crc.c b/libavformat/crc.c
index 40eed53e1f..8be5e734e2 100644
--- a/libavformat/crc.c
+++ b/libavformat/crc.c
@@ -29,7 +29,7 @@ static int crc_write_header(struct AVFormatContext *s)
CRCState *crc = s->priv_data;
/* init CRC */
- crc->crcval = av_adler32_update(0, NULL, 0);
+ crc->crcval = 1;
return 0;
}