Skip to content

Commit 9aeaab2

Browse files
committed
M4A/MP4 : Support mdta metadata handler
1 parent 4f83157 commit 9aeaab2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ATL/AudioData/IO/MP4.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,8 @@ private void readTag(BinaryReader source, ReadTagParams readTagParams)
13501350
source.BaseStream.Seek(4, SeekOrigin.Current); // Quicktime type
13511351
string strData = Utils.Latin1Encoding.GetString(source.ReadBytes(4)); // Meta data type
13521352

1353-
if (!strData.Equals("mdir"))
1353+
// mdir and mdta both represent the same kind of metadata
1354+
if (!strData.Equals("mdir") && !strData.Equals("mdta"))
13541355
{
13551356
string errMsg = "ATL does not support ";
13561357
if (strData.Equals("mp7t")) errMsg += "MPEG-7 XML metadata";

0 commit comments

Comments
 (0)