Skip to content

Commit

Permalink
Merge pull request #1260 from JeromeMartinez/DVRescue_SkipBadVaux
Browse files Browse the repository at this point in the history
DV: skip incoherent VAUX
  • Loading branch information
JeromeMartinez authored May 18, 2020
2 parents 773132b + 737796f commit 84fc9d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Source/MediaInfo/Multiple/File_DvDif_Analysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 84fc9d1

Please sign in to comment.