Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: error with ttaenc 3.0 pre (Read 2450 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

error with ttaenc 3.0 pre

self-explanatory title...

(version = ttaenc 3.0 pre 20040318)

compiles with minor errors with gcc:
Code: [Select]
mike@xmixahlx:/mnt/build/WIP/ttaenc-3.0.pre.20040318$ make
gcc -c -Wall -O2 -funroll-loops -fomit-frame-pointer ttaenc.c
ttaenc.c: In function `decompress':
ttaenc.c:935: warning: operation on `r' may be undefined
ttaenc.c:935: warning: operation on `r' may be undefined
gcc ttaenc.o -o ttaenc -Wall -O2 -funroll-loops -fomit-frame-pointer -lm


and has a bug with wav input:
Code: [Select]
mike@xmixahlx:/mnt/audio/test/41_30sec$ ttaenc3 -e 41_30sec.wav
TTA lossless audio encoder/decoder, release 3.0 pre
Copyright (c) 2003 Alexander Djourik. All rights reserved.
For more information see http://tta.iszf.irk.ru
------------------------------------------------------------
File:    [41_30sec.wav]
Error:   not compatible file format
------------------------------------------------------------
Total:   [0/1, 0.0/5.0 Mb], ratio: 0.000, time: 0'00
------------------------------------------------------------


yet the windows version encodes fine under emulation:
Code: [Select]
mike@xmixahlx:/mnt/media/bin/windows$ winex3 ttaenc3.exe -e4 41_30sec.wav
TTA lossless audio encoder/decoder, release 3.0 pre
Copyright (c) 2003 Alexander Djourik. All rights reserved.
For more information see http://tta.iszf.irk.ru
------------------------------------------------------------
File:    [41_30sec.wav]
Encode:  wrote 3371067 bytes, done, ratio: 0.64, time: 3                      
------------------------------------------------------------
Total:   [1/1, 3.2/5.0 Mb], ratio: 0.637, time: 0'03
------------------------------------------------------------



later

error with ttaenc 3.0 pre

Reply #1
Quote
ttaenc.c:935: warning: operation on `r' may be undefined
ttaenc.c:935: warning: operation on `r' may be undefined


Thank you for this report. Going to fix this bug now.