Changeset 1804 for trunk/MagicSoft/Cosy/videodev/Writer.cc
- Timestamp:
- 03/02/03 17:08:13 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/videodev/Writer.cc
r1111 r1804 21 21 FILE *fd = fopen(fname, "w"); 22 22 if (!fd) 23 { 24 cout << "Warning: Cannot open file for writing." << endl; 23 25 return; 26 } 24 27 25 28 // … … 78 81 // Write Time Chunks 79 82 // 83 /* 80 84 if (date) 81 85 { … … 87 91 sprintf(text,"*** %s %s %.1f %i ***", tzname[0], tzname[1], 1.0/3600*timezone, daylight); 88 92 png_write_chunk(fPng, (png_byte*)"ZONE", (png_byte*)text, strlen(text)); 89 } 93 } 94 */ 90 95 91 96 // … … 117 122 ofstream fout(fname); 118 123 if (!fout) 124 { 125 cout << "Warning: Cannot open file for writing." << endl; 119 126 return; 127 } 120 128 121 129 //
Note:
See TracChangeset
for help on using the changeset viewer.