commit | a414887a43084d6d508a712f82cd4a1fc9ce1dfb | [log] [tgz] |
---|---|---|
author | Adrian Grange <agrange@google.com> | Tue Nov 22 15:47:52 2016 -0800 |
committer | Adrian Grange <agrange@google.com> | Thu Nov 24 02:08:15 2016 +0000 |
tree | 7efe274134c37a36a246d05316ecfa243e371722 | |
parent | 7e6cfae96935aaf9503e11b3a61c6a1c2502c356 [diff] |
Superframe index: Parse correct number of frame sizes If there are N frames in a superframe, the superframe index will enumerate the sizes of only the first (N - 1) frames. The code assumed that all N frame sizes are coded. The size of the final frame in the superframe is calculated as follows: (data_size - index_size - sum_of_N-1_frame_sizes) Change-Id: Ia53ae27455a4f024eec311bf7356a00e8e0d449a