From e2d2baece9230967d8f1d5fdb5259515c2fb03c7 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Thu, 4 Mar 2004 23:19:57 +0000 Subject: update to 0.15.1 of libmad and libid3tag git-svn-id: https://svn.musicpd.org/mpd/trunk@196 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/libid3tag/tag.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libid3tag/tag.c') diff --git a/src/libid3tag/tag.c b/src/libid3tag/tag.c index 4c9ad1929..be4e8e777 100644 --- a/src/libid3tag/tag.c +++ b/src/libid3tag/tag.c @@ -1,6 +1,6 @@ /* * libid3tag - ID3 tag manipulation library - * Copyright (C) 2000-2003 Underbit Technologies, Inc. + * Copyright (C) 2000-2004 Underbit Technologies, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: tag.c,v 1.1 2003/08/14 03:57:13 shank Exp $ + * $Id: tag.c,v 1.20 2004/02/17 02:04:10 rob Exp $ */ # ifdef HAVE_CONFIG_H @@ -506,7 +506,7 @@ struct id3_tag *v2_parse(id3_byte_t const *ptr) crc = id3_parse_uint(&ehptr, 4); - if (crc != id3_crc_calculate(ptr, end - ptr)) + if (crc != id3_crc_compute(ptr, end - ptr)) goto fail; tag->extendedflags |= ID3_TAG_EXTENDEDFLAG_CRCDATAPRESENT; @@ -579,7 +579,7 @@ struct id3_tag *v2_parse(id3_byte_t const *ptr) crc = id3_parse_syncsafe(&ehptr, 5); ehptr += bytes - 5; - if (crc != id3_crc_calculate(ptr, end - ptr)) + if (crc != id3_crc_compute(ptr, end - ptr)) goto fail; } @@ -895,7 +895,7 @@ id3_length_t id3_tag_render(struct id3_tag const *tag, id3_byte_t *buffer) if (crc_ptr) { id3_render_syncsafe(&crc_ptr, - id3_crc_calculate(frames_ptr, *ptr - frames_ptr), 5); + id3_crc_compute(frames_ptr, *ptr - frames_ptr), 5); } /* footer */ -- cgit v1.2.3