Fix review comment in CSD parsing of Mp4a-Latm
Change-Id: I70c412870952e18826f43d218b074b2829127e10
This commit is contained in:
parent
0ac84fe16f
commit
ce98d6da84
@ -217,8 +217,9 @@ import com.google.common.collect.ImmutableMap;
|
||||
PARAMETER_MP4A_C_PRESENT).equals("0")) {
|
||||
isConfigPresent = false;
|
||||
}
|
||||
checkArgument(!isConfigPresent, "cpresent == 0 means we need to parse config");
|
||||
@Nullable String configInput = fmtpParameters.get(PARAMETER_MP4V_CONFIG);
|
||||
if (!isConfigPresent && configInput != null && configInput.length() % 2 == 0) {
|
||||
if (configInput != null && configInput.length() % 2 == 0) {
|
||||
Pair<Integer, Integer> configParameters = getSampleRateAndChannelCount(configInput);
|
||||
channelCount = configParameters.first;
|
||||
clockRate = configParameters.second;
|
||||
|
Loading…
x
Reference in New Issue
Block a user