Fix locale corruption.
Fix locale corruption.

setlocale returns a pointer that is no longer valid after the intermediate
call to setlocale.

siddharudh/mlt,wideioltd/mlt,siddharudh/mlt,mltframework/mlt,j-b-m/mlt,wideioltd/mlt,ttill/MLT,xzhavilla/mlt,anba8005/mlt,siddharudh/mlt,xzhavilla/mlt,zzhhui/mlt,j-b-m/mlt,ttill/MLT,xzhavilla/mlt,j-b-m/mlt,anba8005/mlt,zzhhui/mlt,gmarco/mlt-orig,j-b-m/mlt,gmarco/mlt-orig,gmarco/mlt-orig,gmarco/mlt-orig,mltframework/mlt,j-b-m/mlt,j-b-m/mlt,xzhavilla/mlt,mltframework/mlt,wideioltd/mlt,xzhavilla/mlt,wideioltd/mlt,mltframework/mlt,zzhhui/mlt,gmarco/mlt-orig,siddharudh/mlt,siddharudh/mlt,xzhavilla/mlt,anba8005/mlt,ttill/MLT,anba8005/mlt,j-b-m/mlt,j-b-m/mlt,anba8005/mlt,xzhavilla/mlt,mltframework/mlt,siddharudh/mlt,gmarco/mlt-orig,ttill/MLT,siddharudh/mlt,xzhavilla/mlt,zzhhui/mlt,ttill/MLT,j-b-m/mlt,anba8005/mlt,wideioltd/mlt,zzhhui/mlt,wideioltd/mlt,zzhhui/mlt,wideioltd/mlt,mltframework/mlt,ttill/MLT,wideioltd/mlt,gmarco/mlt-orig,gmarco/mlt-orig,xzhavilla/mlt,gmarco/mlt-orig,zzhhui/mlt,wideioltd/mlt,j-b-m/mlt,mltframework/mlt,ttill/MLT,siddharudh/mlt,mltframework/mlt,siddharudh/mlt,zzhhui/mlt,ttill/MLT,anba8005/mlt,mltframework/mlt,ttill/MLT,anba8005/mlt,zzhhui/mlt,anba8005/mlt,mltframework/mlt