Skip to content

Commit

Permalink
Const vector
Browse files Browse the repository at this point in the history
  • Loading branch information
osagie98 committed Oct 1, 2024
1 parent 7c3dcf2 commit fa49cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starboard/shared/starboard/media/iamf_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ IamfMimeUtil::IamfMimeUtil(const std::string& mime_type) {
return;
}

std::vector<std::string> vec = SplitString(mime_type, '.');
const std::vector<std::string> vec = SplitString(mime_type, '.');
// The mime type must be in 4 parts for all substreams other than AAC, which
// is 6 parts.
if (vec.size() != 4 && vec.size() != 6) {
Expand Down

0 comments on commit fa49cad

Please sign in to comment.