diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-09-15 05:29:26 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-09-15 05:29:26 +0000 |
commit | ba966c17614fc2de2b443a82071415b194753aa4 (patch) | |
tree | 85b1af551200ab551b4e52a57008ca92ca454e29 /apps/plugins | |
parent | 0c1a2c7651c0727f2a5565e1302f50f64202a9f6 (diff) | |
download | rockbox-ba966c17614fc2de2b443a82071415b194753aa4.tar.gz rockbox-ba966c17614fc2de2b443a82071415b194753aa4.zip |
Archos recording/playback: (1) Xing header creation: * Now estimates the framecount from the recording time if the MAS frame counter saturates, so it always writes a valid Xing header. * Reverted my brainless short-xing-header change. This was only valid for layer 3. (2) Xing/VBRI header evaluation: Fixed possible overflow in bitrate calculation. (3) MPEG thread: Avoid double chunk size limiting for the rare case of 8 MB modded Ondios.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7522 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/vbrfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/vbrfix.c b/apps/plugins/vbrfix.c index b821b9c5fa..ca6b9ca096 100644 --- a/apps/plugins/vbrfix.c +++ b/apps/plugins/vbrfix.c | |||
@@ -168,7 +168,7 @@ static bool vbr_fix(char *selected_file) | |||
168 | /* Note: We don't need to pass a template header because it will be | 168 | /* Note: We don't need to pass a template header because it will be |
169 | taken from the mpeg stream */ | 169 | taken from the mpeg stream */ |
170 | framelen = rb->create_xing_header(fd, entry.first_frame_offset, | 170 | framelen = rb->create_xing_header(fd, entry.first_frame_offset, |
171 | flen, xingbuf, num_frames, | 171 | flen, xingbuf, num_frames, 0, |
172 | 0, xingupdate, true); | 172 | 0, xingupdate, true); |
173 | 173 | ||
174 | /* Try to fit the Xing header first in the stream. Replace the existing | 174 | /* Try to fit the Xing header first in the stream. Replace the existing |