-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bad variant access when filling FlacMetadataBlock payload
The FlacMetadataBlock is default constructed and therefore the variant is default constructed to the first variant type, the ...StreamInfo. Therefore trying to get the payload variant is a bad access. This CL creates the payload and sets it on the variant instead. PiperOrigin-RevId: 713715506
- Loading branch information
1 parent
b7a7473
commit 810dc05
Showing
2 changed files
with
104 additions
and
10 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