Skip to content

Commit acec17f

Browse files
committed
EMDF: Fix secondary protection bits parsing
1 parent 3d278c4 commit acec17f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Source/MediaInfo/Audio/File_Ac3.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4276,8 +4276,7 @@ void File_Ac3::emdf_protection()
42764276
default:; //Cannot append, read only 2 bits
42774277
};
42784278
Skip_BS(len_primary, "protection_bits_primary");
4279-
if (len_second)
4280-
Skip_BS(len_primary, "protection_bits_secondary");
4279+
Skip_BS(len_second, "protection_bits_secondary");
42814280

42824281
Element_End0();
42834282
}

0 commit comments

Comments
 (0)