projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c23be46
)
libptfformat: use g_fopen() to avoid i18n errors with file paths/names
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 10 May 2016 22:24:46 +0000
(18:24 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 10 May 2016 22:24:46 +0000
(18:24 -0400)
libs/ptformat/ptfformat.cc
patch
|
blob
|
history
diff --git
a/libs/ptformat/ptfformat.cc
b/libs/ptformat/ptfformat.cc
index 8c3452c8682d1fe93d472d897e467362cdc66aa8..caf2c2f42a668a883d24d7c9e27419e60637fb77 100644
(file)
--- a/
libs/ptformat/ptfformat.cc
+++ b/
libs/ptformat/ptfformat.cc
@@
-14,13
+14,15
@@
*/
-#include "ptfformat.h"
-
#include <stdio.h>
#include <string>
#include <string.h>
#include <assert.h>
+#include <glib/gstdio.h>
+
+#include "ptfformat.h"
+
using namespace std;
static const uint32_t baselut[16] = {
@@
-115,7
+117,7
@@
PTFFormat::load(std::string path, int64_t targetsr) {
int inv;
int err;
- if (! (fp = fopen(path.c_str(), "rb"))) {
+ if (! (fp =
g_
fopen(path.c_str(), "rb"))) {
return -1;
}