changeset 2106:06d2b14562c4

Use FIELD_DATE.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 20 Oct 2007 06:39:14 +0300
parents 8d66e004f016
children 4809787d9d5c
files src/vorbis/vorbis.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/vorbis/vorbis.c	Fri Oct 19 03:14:47 2007 -0500
+++ b/src/vorbis/vorbis.c	Sat Oct 20 06:39:14 2007 +0300
@@ -743,7 +743,7 @@
         _aud_tuple_associate_string(tuple, FIELD_TITLE, NULL, vorbis_comment_query(comment, "title", 0));
         _aud_tuple_associate_string(tuple, FIELD_ARTIST, NULL, vorbis_comment_query(comment, "artist", 0));
         _aud_tuple_associate_string(tuple, FIELD_ALBUM, NULL, vorbis_comment_query(comment, "album", 0));
-        _aud_tuple_associate_string(tuple, -1, "date", vorbis_comment_query(comment, "date", 0));
+        _aud_tuple_associate_string(tuple, FIELD_DATE, NULL, vorbis_comment_query(comment, "date", 0));
         _aud_tuple_associate_string(tuple, FIELD_GENRE, NULL, vorbis_comment_query(comment, "genre", 0));
         _aud_tuple_associate_string(tuple, FIELD_COMMENT, NULL, vorbis_comment_query(comment, "comment", 0));