Mercurial > audlegacy
diff Plugins/Input/mpg123/id3_frame_content.c @ 228:08973a746a3e trunk
[svn] GCC2 fixes.
author | nenolod |
---|---|
date | Fri, 25 Nov 2005 23:14:41 -0800 |
parents | 539a0fa7f030 |
children | 18cb7405b5e9 |
line wrap: on
line diff
--- a/Plugins/Input/mpg123/id3_frame_content.c Fri Nov 25 20:23:40 2005 -0800 +++ b/Plugins/Input/mpg123/id3_frame_content.c Fri Nov 25 23:14:41 2005 -0800 @@ -46,6 +46,7 @@ id3_get_content(struct id3_frame *frame) { gchar *text, *text_it; + guint8 encoding; /* Type check */ if (frame->fr_desc->fd_id != ID3_TCON) @@ -56,8 +57,6 @@ return NULL; ID3_FRAME_DEFINE_CURSOR(frame); - - guint8 encoding; ID3_FRAME_READ_OR_RETVAL(encoding, NULL); text = text_it = id3_string_decode(encoding, cursor, length);