From f8979dae58a6d280a8667ad35f84567c7aba5498 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 24 Mar 2003 12:48:33 +0000 Subject: The Xing flag word wasn't correctly generated git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3495 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mp3data.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware') diff --git a/firmware/mp3data.c b/firmware/mp3data.c index c0434791c2..a55d052e1b 100644 --- a/firmware/mp3data.c +++ b/firmware/mp3data.c @@ -628,9 +628,9 @@ int create_xing_header(int fd, int startpos, int filesize, buf[36+1] = 'i'; buf[36+2] = 'n'; buf[36+3] = 'g'; - int2bytes(&buf[36+4], (num_frames?VBR_FRAMES_FLAG:0 | - filesize?VBR_BYTES_FLAG:0 | - generate_toc?VBR_TOC_FLAG:0)); + int2bytes(&buf[36+4], ((num_frames?VBR_FRAMES_FLAG:0) | + (filesize?VBR_BYTES_FLAG:0) | + (generate_toc?VBR_TOC_FLAG:0))); index = 36+8; if(num_frames) { -- cgit v1.2.3