Skip to content

Commit e35d8f3

Browse files
committed
Magic cookies only for alac
1 parent a7e62d4 commit e35d8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/AudioCodecs/ContainerM4A.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class ContainerM4A : public ContainerDecoder {
7676
}
7777

7878
// for AAC only: process magic cookie if not done yet
79-
if (StrView(frame.mime) == "audio/aac" &&
79+
if (StrView(frame.mime) == "audio/alac" &&
8080
!self->is_magic_cookie_processed) {
8181
auto& magic_cookie = self->demux.getALACMagicCookie();
8282
if (magic_cookie.size() > 0) {

0 commit comments

Comments
 (0)