File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -223,9 +223,8 @@ void ieee2ibm( void* to, const void* from ) {
223
223
}
224
224
225
225
/*
226
- Lookup table for field data type. All values not explicitly set are 0.
227
- Datatype enumeration is defined incrementally with 1 as the base.
228
- Thus, fields with undefined type will be assigned datatype 0.
226
+ Lookup table for segy field data types. Types are defined in the SEGY_FORMAT enum.
227
+ All values not explicitly set are 0 which is undefined in the SEGY_FORMAT.
229
228
*/
230
229
static uint8_t tr_field_type [SEGY_TRACE_HEADER_SIZE ] = {
231
230
[SEGY_TR_SEQ_LINE ] = SEGY_SIGNED_INTEGER_4_BYTE ,
@@ -326,9 +325,8 @@ static uint8_t tr_field_type[SEGY_TRACE_HEADER_SIZE] = {
326
325
#define HEADER_SIZE SEGY_TEXT_HEADER_SIZE
327
326
328
327
/*
329
- Lookup table for binary header data type. All values not explicitly set are 0.
330
- Datatype enumeration is defined incrementally with 1 as the base.
331
- Thus, fields with undefined type will be assigned datatype 0.
328
+ Lookup table for segy binary field data types. Types are defined in the SEGY_FORMAT enum.
329
+ All values not explicitly set are 0 which is undefined in the SEGY_FORMAT.
332
330
*/
333
331
static uint8_t bin_field_type [SEGY_BINARY_HEADER_SIZE ] = {
334
332
[- HEADER_SIZE + SEGY_BIN_JOB_ID ] = SEGY_SIGNED_INTEGER_4_BYTE ,
You can’t perform that action at this time.
0 commit comments