Skip to content

Commit

Permalink
Merge pull request #2116 from cjee21/IAB
Browse files Browse the repository at this point in the history
Fix bug in IAB channel code mapping
  • Loading branch information
JeromeMartinez authored Sep 30, 2024
2 parents e7fd9f0 + 3d10271 commit f24a17b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/MediaInfo/Audio/File_Iab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ const char* Iab_Channel(int32u Code)
};
if (Code<0x18)
return Iab_Channel_Values[Code];
if (Code>=0x80 && Code<sizeof(Iab_Channel_Values)/sizeof(const char*)-0x18)
return Iab_Channel_Values[Code-0x18];
if (Code>=0x80 && Code<sizeof(Iab_Channel_Values)/sizeof(const char*)+0x68)
return Iab_Channel_Values[Code-0x68];
return "";
}
//***************************************************************************
Expand Down

0 comments on commit f24a17b

Please sign in to comment.