Mercurial > audlegacy
changeset 787:e776161c16db trunk
[svn] - more fixes, sizeof *frame !($&($&(@!#$@#*&@!$# whoever wrote this code is an idiot
author | nenolod |
---|---|
date | Fri, 03 Mar 2006 10:31:57 -0800 |
parents | f2b43ca69f3c |
children | d15862899bbe |
files | Plugins/Input/mpg123/id3_frame.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/mpg123/id3_frame.c Fri Mar 03 10:11:53 2006 -0800 +++ b/Plugins/Input/mpg123/id3_frame.c Fri Mar 03 10:31:57 2006 -0800 @@ -300,7 +300,7 @@ /* * Allocate frame. */ - frame = g_malloc0(sizeof(*frame)); + frame = g_malloc0(sizeof(struct id3_frame)); frame->fr_owner = id3; /* FIXME v2.4.0 */ @@ -572,7 +572,7 @@ /* * Allocate frame. */ - frame = g_malloc0(sizeof(*frame)); + frame = g_malloc0(sizeof(struct id3_frame)); /* * Initialize frame