add test/data for video support : delete unused parameter from readList method
This commit is contained in:
parent
0f715288e7
commit
acd71894b2
@ -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);
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user