]> git.sesse.net Git - mlt/commit
If LC_NUMERIC unsupported do not inadvertently change locale.
authorDan Dennedy <dan@dennedy.org>
Sat, 1 Feb 2014 05:37:10 +0000 (21:37 -0800)
committerDan Dennedy <dan@dennedy.org>
Sat, 1 Feb 2014 05:37:10 +0000 (21:37 -0800)
commit4f4296e775e4cc837454ebbbc16255c00ae9fa05
tree118ee75fea13f0356111d988e2fb63c7da842a7b
parent96fc85b6fe773d2b1ac1199fe51051efa4717237
If LC_NUMERIC unsupported do not inadvertently change locale.

On Windows, we should be able to use _create_locale() and _free_locale()
but using them results in unresolved symbols linking on mingw 4.8.
Calling setlocale with fallback value of "" results in changing locale
to system-defined. With this change, on OS where LC_NUMERIC changing is
not supported we call with NULL, which makes the call passive.
src/framework/mlt_property.c