add test/data for video support : gix issue in riff video and reference data test

main
Mohamed Ali Chebbi 2 years ago
parent 82ea6bef52
commit bbb3f5afa8

@ -441,8 +441,6 @@ std::string RiffVideo::mimeType() const {
@return Returns true if the buffer value is equal to string. @return Returns true if the buffer value is equal to string.
*/ */
bool RiffVideo::equalsRiffTag(Exiv2::DataBuf& buf, const char* str) { bool RiffVideo::equalsRiffTag(Exiv2::DataBuf& buf, const char* str) {
if (buf.size() != RIFF_TAG_SIZE)
return false;
for (size_t i = 0; i < RIFF_TAG_SIZE; i++) for (size_t i = 0; i < RIFF_TAG_SIZE; i++)
if (toupper(buf.data()[i]) != str[i]) if (toupper(buf.data()[i]) != str[i])
return false; return false;

Loading…
Cancel
Save