Drop setting the locale altogether.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 7 Mar 2015 01:01:45 +0000 (02:01 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 7 Mar 2015 01:01:45 +0000 (02:01 +0100)
commitd88ed3150376693000665b9016c0350d5d90e9e1
tree5bcbf0b15b82eda9c4e2aadab92236dd778f2ad6
parent8ae12f557394d1745f39c843d56fc4cf75167266
Drop setting the locale altogether.

Trying to use sprintf and floats right in a portable manner is seemingly
impossible (MinGW doesn't support the per-thread locale stuff), so simply
do it a different way; stop sprintf-ing floats and use std::stringstream
instead. I dislike the iostream interface a lot, but it can do per-stream
locales, which is exactly what we want here.
effect_chain.cpp
effect_chain_test.cpp
util.cpp
util.h
ycbcr_input.cpp