projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
09effd7
)
Simplify mp3_seek_next_header().
author
Andre Noll
<maan@systemlinux.org>
Sat, 28 Jun 2008 16:18:53 +0000
(18:18 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 28 Jun 2008 16:18:53 +0000
(18:18 +0200)
mp3_afh.c
patch
|
blob
|
history
diff --git
a/mp3_afh.c
b/mp3_afh.c
index
9c190ea
..
225ddd6
100644
(file)
--- 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;
}
if (k == MIN_CONSEC_GOOD_FRAMES) {
*fpos = valid_start;
- m
emcpy(&(mp3.header), &h2, sizeof(struct mp3header))
;
+ m
p3.header = h2
;
return first_len;
}
}
return first_len;
}
}