From: Andre Noll Date: Sat, 28 Jun 2008 16:18:53 +0000 (+0200) Subject: Simplify mp3_seek_next_header(). X-Git-Tag: v0.3.3~53^2~13 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=da3bc4382673f3fbb37a7a00f06094135853e956;p=paraslash.git Simplify mp3_seek_next_header(). --- diff --git a/mp3_afh.c b/mp3_afh.c index 9c190ea6..225ddd60 100644 --- a/mp3_afh.c +++ b/mp3_afh.c @@ -254,7 +254,7 @@ static int mp3_seek_next_header(unsigned char *map, size_t numbytes, off_t *fpos } if (k == MIN_CONSEC_GOOD_FRAMES) { *fpos = valid_start; - memcpy(&(mp3.header), &h2, sizeof(struct mp3header)); + mp3.header = h2; return first_len; } }