aboutsummaryrefslogtreecommitdiff
path: root/src/tools/myriad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/myriad.cpp')
-rw-r--r--src/tools/myriad.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools/myriad.cpp b/src/tools/myriad.cpp
index 605aac9..535d7ac 100644
--- a/src/tools/myriad.cpp
+++ b/src/tools/myriad.cpp
@@ -121,7 +121,6 @@ int main( int argc, char *argv[] )
121 { 121 {
122 File fIn( opts.sFile, File::Read ); 122 File fIn( opts.sFile, File::Read );
123 Myriad m( fIn ); 123 Myriad m( fIn );
124 m.initialize();
125 } 124 }
126 break; 125 break;
127 126
@@ -135,7 +134,6 @@ int main( int argc, char *argv[] )
135 { 134 {
136 File fOut( opts.sFile, File::Write|File::Read ); 135 File fOut( opts.sFile, File::Write|File::Read );
137 Myriad m( fOut ); 136 Myriad m( fOut );
138 m.initialize();
139 m.createStream( opts.iPreallocate ); 137 m.createStream( opts.iPreallocate );
140 } 138 }
141 break; 139 break;
@@ -143,14 +141,13 @@ int main( int argc, char *argv[] )
143 case modeStreamDump: 141 case modeStreamDump:
144 if( !opts.sFile.isSet() ) 142 if( !opts.sFile.isSet() )
145 { 143 {
146 sio << "Please specify a file manipulate." << sio.nl; 144 sio << "Please specify a file to manipulate." << sio.nl;
147 return 0; 145 return 0;
148 } 146 }
149 else 147 else
150 { 148 {
151 File fOut( opts.sFile, File::Read ); 149 File fOut( opts.sFile, File::Read );
152 Myriad m( fOut ); 150 Myriad m( fOut );
153 m.initialize();
154 MyriadStream s = m.openStream( opts.iStream ); 151 MyriadStream s = m.openStream( opts.iStream );
155 sio << "Stream " << opts.iStream << ":" << sio.nl; 152 sio << "Stream " << opts.iStream << ":" << sio.nl;
156 char buf[8]; 153 char buf[8];
@@ -198,7 +195,6 @@ int main( int argc, char *argv[] )
198 { 195 {
199 File fOut( opts.sFile, File::Write|File::Read ); 196 File fOut( opts.sFile, File::Write|File::Read );
200 Myriad m( fOut ); 197 Myriad m( fOut );
201 m.initialize();
202 MyriadStream sOut = m.openStream( 198 MyriadStream sOut = m.openStream(
203 m.createStream( opts.iPreallocate ) 199 m.createStream( opts.iPreallocate )
204 ); 200 );