Commit read-only stack security fix for 64bit processors.
[ardour.git] / libs / ardour / sndfilesource.cc
index c30b1af2a4548af95a372466aa44739970992553..1e408e12bc701c1b80944831d353920f2653db0f 100644 (file)
@@ -442,8 +442,8 @@ SndFileSource::setup_broadcast_info (nframes_t when, struct tm& now, time_t tnow
        int random_code = random() % 999999999;
        
        snprintf (_broadcast_info->originator_reference, sizeof (_broadcast_info->originator_reference), "%2s%3s%12s%02d%02d%02d%9d",
-                 bwf_country_code,
-                 bwf_organization_code,
+                 Config->get_bwf_country_code().c_str(),
+                 Config->get_bwf_organization_code().c_str(),
                  bwf_serial_number,
                  now.tm_hour,
                  now.tm_min,