diff options
-rw-r--r-- | firmware/mp3data.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |