1
0
Fork 0
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:
Linus Nielsen Feltzing 2003-03-24 12:48:33 +00:00
parent 27539aa828
commit f8979dae58

View file

@ -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)
{ {