forked from len0rd/rockbox
The Xing flag word wasn't correctly generated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3495 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
27539aa828
commit
f8979dae58
1 changed files with 3 additions and 3 deletions
|
|
@ -628,9 +628,9 @@ int create_xing_header(int fd, int startpos, int filesize,
|
||||||
buf[36+1] = 'i';
|
buf[36+1] = 'i';
|
||||||
buf[36+2] = 'n';
|
buf[36+2] = 'n';
|
||||||
buf[36+3] = 'g';
|
buf[36+3] = 'g';
|
||||||
int2bytes(&buf[36+4], (num_frames?VBR_FRAMES_FLAG:0 |
|
int2bytes(&buf[36+4], ((num_frames?VBR_FRAMES_FLAG:0) |
|
||||||
filesize?VBR_BYTES_FLAG:0 |
|
(filesize?VBR_BYTES_FLAG:0) |
|
||||||
generate_toc?VBR_TOC_FLAG:0));
|
(generate_toc?VBR_TOC_FLAG:0)));
|
||||||
index = 36+8;
|
index = 36+8;
|
||||||
if(num_frames)
|
if(num_frames)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue