Skip to content

Commit b9a443e

Browse files
+ AC-4: Add Bitstream level and Presentation level, fix
1 parent 7d92a19 commit b9a443e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/MediaInfo/Audio/File_Ac4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ void File_Ac4::Streams_Fill()
12321232
if ((Presentation.b_multi_pid_PresentAndValue && Presentation.b_multi_pid_PresentAndValue != (int8u)-1) || Presentation.mdcompat > 4) {
12331233
continue;
12341234
}
1235-
BitstreamLevel = min(BitstreamLevel == 4 ? 4 : 3, BitstreamLevel);
1235+
BitstreamLevel = min(Presentation.mdcompat == 4 ? 4 : 3, BitstreamLevel);
12361236
}
12371237
}
12381238
Fill(Stream_Audio, 0, "BitstreamLevel", BitstreamLevel);

0 commit comments

Comments
 (0)