add test/data for video support : delete unused parameter from readList method

This commit is contained in:
Mohamed Ali Chebbi 2023-02-05 00:01:36 +01:00
parent 0f715288e7
commit acd71894b2
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ class EXIV2API RiffVideo : public Image {
//@} //@}
protected: protected:
void readList(uint64_t size, const std::string& id); void readList(uint64_t size);
void readChunk(uint64_t size, const std::string& id); void readChunk(uint64_t size, const std::string& id);

View File

@ -398,7 +398,7 @@ bool RiffVideo::equal(const std::string& str1, const std::string& str2) {
return true; return true;
} }
void RiffVideo::readList(uint64_t size, const std::string& id) { void RiffVideo::readList(uint64_t size) {
DataBuf FormTypeBuf_ = io_->read(DWORD); DataBuf FormTypeBuf_ = io_->read(DWORD);
#ifdef EXIV2_DEBUG_MESSAGES #ifdef EXIV2_DEBUG_MESSAGES
@ -453,7 +453,7 @@ void RiffVideo::decodeBlocks() {
std::string id = readStringTag(io_); std::string id = readStringTag(io_);
uint64_t size = readDWORDTag(io_); uint64_t size = readDWORDTag(io_);
if (equal(id, CHUNK_ID_LIST)) { if (equal(id, CHUNK_ID_LIST)) {
readList(size, id); readList(size);
} else { } else {
readChunk(size, id); readChunk(size, id);
} }