diff --git a/Source/MediaInfo/Multiple/File_DvDif_Analysis.cpp b/Source/MediaInfo/Multiple/File_DvDif_Analysis.cpp index f72479d84..c5d74e31d 100644 --- a/Source/MediaInfo/Multiple/File_DvDif_Analysis.cpp +++ b/Source/MediaInfo/Multiple/File_DvDif_Analysis.cpp @@ -210,6 +210,14 @@ void File_DvDif::Read_Buffer_Continue() break; case 0x40 : //SCT=2 (VAUX) { + //Test coherency + if (Buffer[Buffer_Offset+3+15*5+0]!=0xFF + || Buffer[Buffer_Offset+3+15*5+1]!=0xFF) + { + //TODO: error info in an event + break; + } + for (size_t Pos=0; Pos<15*5; Pos+=5) { int8u PackType=Buffer[Buffer_Offset+3+Pos];