Mercurial > libavformat.hg
changeset 1093:04f092701779 libavformat
fix seeking, typo provoking hard segfault
author | bcoudurier |
---|---|
date | Thu, 18 May 2006 15:18:25 +0000 |
parents | 3252d6419540 |
children | 1010b89986bd |
files | mov.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Thu May 18 15:17:09 2006 +0000 +++ b/mov.c Thu May 18 15:18:25 2006 +0000 @@ -2103,7 +2103,7 @@ msc->current_sample += (msc->sample_to_chunk[msc->sample_to_chunk_index + 1].first - msc->sample_to_chunk[msc->sample_to_chunk_index].first) \ * msc->sample_to_chunk[msc->sample_to_chunk_index].count; } - msc->current_sample += (msc->next_chunk - (msc->sample_to_chunk[msc->sample_to_chunk_index].first - 1)) * sc->sample_to_chunk[msc->sample_to_chunk_index].count; + msc->current_sample += (msc->next_chunk - (msc->sample_to_chunk[msc->sample_to_chunk_index].first - 1)) * msc->sample_to_chunk[msc->sample_to_chunk_index].count; msc->left_in_chunk = msc->sample_to_chunk[msc->sample_to_chunk_index].count - 1; // Find corresponding position in stts (used later to compute dts) sample = 0;