1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge pull request #22250 from ocpalo:codec_fix

This commit is contained in:
Alexander Smorkalov
2022-08-05 07:52:32 +00:00
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -260,9 +260,6 @@ bool JpegDecoder::readHeader()
}
}
if( !result )
close();
return result;
}
@@ -512,7 +509,6 @@ bool JpegDecoder::readData( Mat& img )
}
}
close();
return result;
}
-4
View File
@@ -214,9 +214,6 @@ bool PngDecoder::readHeader()
}
}
if( !result )
close();
return result;
}
@@ -304,7 +301,6 @@ bool PngDecoder::readData( Mat& img )
}
}
close();
return result;
}