Changeset 3223
- Timestamp:
- 2007-09-04 18:53:26 (1 year ago)
- Files:
-
- liboggz/trunk/src/liboggz/oggz_auto.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
liboggz/trunk/src/liboggz/oggz_auto.c
r3222 r3223 687 687 info = (auto_calc_vorbis_info_t *)stream->calculate_data; 688 688 689 690 if (now > -1)691 {692 return now;693 }694 695 689 { 696 690 /* … … 705 699 size = info->mode_sizes[mode]; 706 700 707 info->last_was_long = size;708 709 701 /* 710 702 * if we have a working granulepos, we use it. … … 712 704 if (now > -1) { 713 705 info->encountered_first_data_packet = 1; 706 info->last_was_long = size; 714 707 return now; 715 708 } … … 717 710 if (info->encountered_first_data_packet == 0) { 718 711 info->encountered_first_data_packet = 1; 712 info->last_was_long = size; 719 713 return -1; 720 714 } … … 725 719 */ 726 720 if (stream->last_granulepos == -1) { 721 info->last_was_long = size; 727 722 return -1; 728 723 }