commit e19e624671c12726b511e092ea01f977722624d7
parent b92bddb6d56015f8e6b60227b374e4009fcb5a98
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 12 Apr 2012 21:04:51 +0000
-LRN: fix segment contents start position calculations
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/ebml_extractor.c b/src/plugins/ebml_extractor.c
@@ -1765,7 +1765,7 @@ EXTRACTOR_ebml_extract_method (struct EXTRACTOR_PluginList *plugin, EXTRACTOR_Me
state->next_state = EBML_READING_MATROSKA_SEGMENT_CONTENTS;
clean_ebml_state_matroska_segment (state);
ebml_stack_push_new (state, pl_get_pos (plugin), eID, eSize, read_result, EBML_FINISHED_READING_MATROSKA_SEGMENT_CONTENTS, EBML_READING_MATROSKA_SEGMENT, EBML_READ_ELEMENT, EBML_READING_MATROSKA_SEGMENT);
- state->segment_contents_start = pl_get_pos (plugin) - read_result;
+ state->segment_contents_start = pl_get_pos (plugin);
break;
case EBML_READING_MATROSKA_SEGMENT_CONTENTS:
if (!check_result (plugin, read_result, state))