forked from len0rd/rockbox
Codecs: mp4: Small cleanup
Remove unnecessary frame modification Change-Id: I884152a66477efea7cfcadc638f55352ad75fc41
This commit is contained in:
parent
6acb6446e6
commit
9242e4cadb
1 changed files with 1 additions and 4 deletions
|
@ -533,14 +533,11 @@ static bool read_chunk_stco(qtmovie_t *qtmovie, size_t chunk_len)
|
|||
|
||||
frame += (new_first - old_first) * old_frame;
|
||||
}
|
||||
frame += (k - old_first) * old_frame;
|
||||
|
||||
if ((k-1) % accuracy_divider == 0)
|
||||
{
|
||||
qtmovie->res->lookup_table[idx++].sample = frame;
|
||||
qtmovie->res->lookup_table[idx++].sample = frame + (k - old_first) * old_frame;
|
||||
}
|
||||
|
||||
frame -= (k - old_first) * old_frame;
|
||||
}
|
||||
/* zero-terminate the lookup table */
|
||||
qtmovie->res->lookup_table[idx].sample = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue