Skip to content

Commit

Permalink
DvDif: detect synthetic gray/silence frames, update
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeMartinez committed Dec 5, 2022
1 parent 850b196 commit ce9078e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/MediaInfo/Multiple/File_DvDif_Analysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ void File_DvDif::Read_Buffer_Continue()
for (size_t i=8; i<80; i+=2)
{
int16s Value=(int16s)BigEndian2int16u(Buffer+Buffer_Offset+i);
if (Value<-2 || Value>1)
if (Value<=-8 || Value>=8)
{
FrameIsNotFake=true;
break;
Expand Down

0 comments on commit ce9078e

Please sign in to comment.