diff --git a/Source/Riff/Riff_Chunks_AVI__Tdat_rn_A.cpp b/Source/Riff/Riff_Chunks_AVI__Tdat_rn_A.cpp index d145967..31788c6 100755 --- a/Source/Riff/Riff_Chunks_AVI__Tdat_rn_A.cpp +++ b/Source/Riff/Riff_Chunks_AVI__Tdat_rn_A.cpp @@ -20,7 +20,7 @@ void Riff_AVI__Tdat_rn_A::Read_Internal () { //Integrity - if (Global->iXML) + if (Global->Tdat->Strings.find("rn_a")!=Global->Tdat->Strings.end()) throw exception_valid("2 rn_A chunks"); //Reading diff --git a/Source/Riff/Riff_Chunks_AVI__Tdat_rn_O.cpp b/Source/Riff/Riff_Chunks_AVI__Tdat_rn_O.cpp index 6af8b1b..380b785 100755 --- a/Source/Riff/Riff_Chunks_AVI__Tdat_rn_O.cpp +++ b/Source/Riff/Riff_Chunks_AVI__Tdat_rn_O.cpp @@ -20,7 +20,7 @@ void Riff_AVI__Tdat_rn_O::Read_Internal () { //Integrity - if (Global->iXML) + if (Global->Tdat->Strings.find("rn_O")!=Global->Tdat->Strings.end()) throw exception_valid("2 rn_O chunks"); //Reading diff --git a/Source/Riff/Riff_Chunks_AVI__Tdat_tc_A.cpp b/Source/Riff/Riff_Chunks_AVI__Tdat_tc_A.cpp index 6785b6c..b956170 100755 --- a/Source/Riff/Riff_Chunks_AVI__Tdat_tc_A.cpp +++ b/Source/Riff/Riff_Chunks_AVI__Tdat_tc_A.cpp @@ -20,7 +20,7 @@ void Riff_AVI__Tdat_tc_A::Read_Internal () { //Integrity - if (Global->iXML) + if (Global->Tdat->Strings.find("tc_A")!=Global->Tdat->Strings.end()) throw exception_valid("2 tc_A chunks"); //Reading diff --git a/Source/Riff/Riff_Chunks_AVI__Tdat_tc_O.cpp b/Source/Riff/Riff_Chunks_AVI__Tdat_tc_O.cpp index d9b01a4..40d467a 100755 --- a/Source/Riff/Riff_Chunks_AVI__Tdat_tc_O.cpp +++ b/Source/Riff/Riff_Chunks_AVI__Tdat_tc_O.cpp @@ -20,7 +20,7 @@ void Riff_AVI__Tdat_tc_O::Read_Internal () { //Integrity - if (Global->iXML) + if (Global->Tdat->Strings.find("tc_O")!=Global->Tdat->Strings.end()) throw exception_valid("2 tc_O chunks"); //Reading