-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For files with a VBR header: Thanks to @naglis for correcting the length calculation. (issue: #412) For files without a VBR header: `rev_search_for_frame_header` would get tripped up on files with trailing data that looked like a frame sync (ex. 0xFFFF). This would also result in durations that are slightly off. For now, VBR streams are still assumed to be CBR. I have not seen a file this does not work for yet. Eventually it would be nice to have more accurate calculation, but that will require we read the *entire* file.
- Loading branch information
1 parent
dde24d5
commit 6ac413a
Showing
3 changed files
with
84 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -194,7 +194,6 @@ where | |
last_frame_offset, | ||
xing_header, | ||
file_length, | ||
parse_options.parsing_mode, | ||
)?; | ||
} | ||
|
||
|