mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Fix missing import
PiperOrigin-RevId: 403113286
This commit is contained in:
parent
21cfd62cfd
commit
b2bf9f4d0f
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user