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
[ | |
{ | |
"commentId":368, | |
"userId":1, | |
"userName":"Kirk Avocado", | |
"commentText":"The universe was a mistake.", | |
"likeCount":1, | |
"replyCount":1, | |
"liked":false, | |
"ownComment":true, |
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
void MPEG::XingHeader::parse(const ByteVector &data) | |
{ | |
// Check to see if a valid Xing header is available. | |
if(!data.startsWith("Xing") && !data.startsWith("Info")) | |
return; | |
// If the XingHeader doesn't contain the number of frames and the total stream | |
// info it's invalid. |