Commit ce98d6da by Rakesh Kumar

Fix review comment in CSD parsing of Mp4a-Latm

Change-Id: I70c412870952e18826f43d218b074b2829127e10
parent 0ac84fe1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment