Changeset 3162
- Timestamp:
- 2007-07-18 22:11:15 (1 year ago)
- Files:
-
- libannodex/trunk/src/importers/anx_import_ogg.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libannodex/trunk/src/importers/anx_import_ogg.c
r2702 r3162 954 954 fprintf (aod->df, "anxogg_setup: oggz_seek_units end FAIL\n"); 955 955 #endif 956 return -1; 957 } 958 end_time = ((double)units_at) / 1000.0; 956 //return -1; 957 end_time = -1; 958 } else { 959 end_time = ((double)units_at) / 1000.0; 960 } 959 961 } else { 960 962 units = (ogg_int64_t)(SUBSECONDS * end_time); … … 980 982 981 983 aod->anx_source->byte_length = end_offset - start_offset; 982 aod->anx_source->duration = end_time - start_time; 984 if (end_time != -1) { 985 aod->anx_source->duration = end_time - start_time; 986 } 983 987 984 988 #ifdef DEBUG