Commit cbaa4a7c by kimvde Committed by kim-vde

Avoid sending duplicate formats in AC3 extractor

PiperOrigin-RevId: 293582663
parent 9875c5d2
......@@ -199,7 +199,7 @@ public final class Ac3Reader implements ElementaryStreamReader {
if (format == null
|| frameInfo.channelCount != format.channelCount
|| frameInfo.sampleRate != format.sampleRate
|| Util.areEqual(frameInfo.mimeType, format.sampleMimeType)) {
|| !Util.areEqual(frameInfo.mimeType, format.sampleMimeType)) {
format =
Format.createAudioSampleFormat(
formatId,
......
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