add test/data for video support : gix issue in riff video and reference data test
This commit is contained in:
parent
82ea6bef52
commit
bbb3f5afa8
@ -101,7 +101,7 @@ class EXIV2API AsfVideo : public Image {
|
||||
remaining_size_ = size_ - GUID - QWORD;
|
||||
}
|
||||
|
||||
[[nodiscard]] uint64_t getSize() const {
|
||||
[[nodiscard]] uint64_t getSize() const {
|
||||
return size_;
|
||||
}
|
||||
|
||||
|
||||
@ -441,8 +441,6 @@ std::string RiffVideo::mimeType() const {
|
||||
@return Returns true if the buffer value is equal to string.
|
||||
*/
|
||||
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++)
|
||||
if (toupper(buf.data()[i]) != str[i])
|
||||
return false;
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user