Merge pull request #1469 from Exiv2/fix_1464_sony2010e
Fix 1464 sony2010e (0.27->maintenance)
This commit is contained in:
commit
443944d1de
@ -807,8 +807,8 @@ namespace Exiv2 {
|
||||
};
|
||||
|
||||
extern const ArrayCfg sony2010eCfg = {
|
||||
sony2010eId, // Group for the elements
|
||||
bigEndian, // Big endian
|
||||
sony2010eId, // Group for the elements
|
||||
invalidByteOrder, // inherit from file. Usually littleEndian
|
||||
ttUnsignedByte, // Type for array entry and size element
|
||||
sonyTagDecipher, // (uint16_t, const byte*, uint32_t, TiffComponent* const);
|
||||
false, // No size element
|
||||
|
||||
BIN
test/data/test_issue_1464.exv
Normal file
BIN
test/data/test_issue_1464.exv
Normal file
Binary file not shown.
18
tests/bugfixes/github/test_issue_1464.py
Normal file
18
tests/bugfixes/github/test_issue_1464.py
Normal file
@ -0,0 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from system_tests import CaseMeta, CopyTmpFiles, path
|
||||
@CopyTmpFiles("$data_path/test_issue_1464.exv")
|
||||
|
||||
class test_issue_1464Test(metaclass=CaseMeta):
|
||||
|
||||
filename = path("$tmp_path/test_issue_1464.exv")
|
||||
commands = [ "$exiv2 -K Exif.Sony2010e.WB_RGBLevels $filename"
|
||||
, "$exiv2 -M\"set Exif.Sony2010e.WB_RGBLevels 9 1 1\" $filename"
|
||||
, "$exiv2 -K Exif.Sony2010e.WB_RGBLevels $filename"
|
||||
]
|
||||
stdout = ["Exif.Sony2010e.WB_RGBLevels Short 3 598 256 442\n"
|
||||
,""
|
||||
,"Exif.Sony2010e.WB_RGBLevels Short 3 9 1 1\n"
|
||||
]
|
||||
stderr = [""]*len(commands)
|
||||
retval = [ 0]*len(commands)
|
||||
Loading…
Reference in New Issue
Block a user