aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/crc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-07-19 08:39:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-07-19 08:39:50 +0000
commit1d94a6620fb8b18ccbba75b7ca74db2fe885e054 (patch)
tree8c6d61f0cb05f00f6239cd18c266f4f77eaaa6df /libavformat/crc.c
parentcfc4bd4695efcf6d9b246fad12b391161ff35c9c (diff)
downloadffmpeg-1d94a6620fb8b18ccbba75b7ca74db2fe885e054.tar.gz
simplify
Originally committed as revision 5786 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/crc.c')
-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;
}