Fix missing import

PiperOrigin-RevId: 403113286
This commit is contained in:
olly 2021-10-14 17:28:51 +01:00 committed by Oliver Woodman
parent 21cfd62cfd
commit b2bf9f4d0f
2 changed files with 2 additions and 2 deletions

View File

@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.google.android.exoplayer2.extractor; package com.google.android.exoplayer2.extractor;
import static com.google.android.exoplayer2.util.Assertions.checkState; import static com.google.android.exoplayer2.util.Assertions.checkState;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import com.google.android.exoplayer2.C; import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.audio.Ac3Util;
import java.io.IOException; import java.io.IOException;
/** /**

View File

@ -1327,8 +1327,8 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
parent.skipBytes(6); // sampleSize, compressionId, packetSize. parent.skipBytes(6); // sampleSize, compressionId, packetSize.
sampleRate = parent.readUnsignedFixedPoint1616(); sampleRate = parent.readUnsignedFixedPoint1616();
parent.skipBytes(-4);
// The sample rate has been redefined as a 32-bit value for Dolby TrueHD (MLP) streams. // The sample rate has been redefined as a 32-bit value for Dolby TrueHD (MLP) streams.
parent.setPosition(parent.getPosition() - 4);
sampleRateMlp = parent.readInt(); sampleRateMlp = parent.readInt();
if (quickTimeSoundDescriptionVersion == 1) { if (quickTimeSoundDescriptionVersion == 1) {