From: <th...@fr...> - 2006-01-23 14:35:15
|
CVS Root: /cvs/gstreamer Module: gst-plugins-good Changes by: thaytan Date: Mon Jan 23 2006 06:32:59 PST Log message: * gst/id3demux/id3v2frames.c: (id3v2_tag_to_taglist): Remove errant break statement, and fix compilation with older GCC. Modified files: . : ChangeLog gst/id3demux : id3v2frames.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.2101&r2=1.2102 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/id3demux/id3v2frames.c.diff?r1=1.4&r2=1.5 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v retrieving revision 1.2101 retrieving revision 1.2102 diff -u -d -r1.2101 -r1.2102 --- ChangeLog 23 Jan 2006 12:04:12 -0000 1.2101 +++ ChangeLog 23 Jan 2006 14:32:47 -0000 1.2102 @@ -1,3 +1,9 @@ +2006-01-23 Jan Schmidt <th...@ma...> + + * gst/id3demux/id3v2frames.c: (id3v2_tag_to_taglist): + Remove errant break statement, and fix compilation with + older GCC. 2006-01-23 Brian Cameron <brian dot cameron at sun dot com> Reviewed by: Tim-Philipp Müller <tim at centricular dot net> Index: id3v2frames.c RCS file: /cvs/gstreamer/gst-plugins-good/gst/id3demux/id3v2frames.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- id3v2frames.c 23 Jan 2006 09:22:17 -0000 1.4 +++ id3v2frames.c 23 Jan 2006 14:32:47 -0000 1.5 @@ -299,7 +299,10 @@ default:{ gchar *tmp = NULL; + GValue src = { 0, }; + GValue dest = { 0, }; + /* Ensure that any date string is complete */ if (tag_type == GST_TYPE_DATE) { guint year = 1901, month = 1, day = 1; @@ -310,13 +313,9 @@ tmp = g_strdup_printf ("%04u-%02u-%02u", year, month, day); tag_str = tmp; - break; } /* handles anything else */ - GValue src = { 0, }; - GValue dest = { 0, }; - g_value_init (&src, G_TYPE_STRING); g_value_set_string (&src, (const gchar *) tag_str); g_value_init (&dest, tag_type); |