Fix SFID parameter in FCP template
In FCP SFID tag bits 8 to 4 encode the short EF identifier.
This commit is contained in:
committed by
Frank Morgner
parent
666294b313
commit
0f4e79db17
@@ -594,7 +594,7 @@ class MF(DF):
|
||||
# TODO filesize and data objects
|
||||
if isinstance(file, EF):
|
||||
if hasattr(file, 'shortfid'):
|
||||
fdm.append("%c\x01%c" % (TAG["SHORTFID"], file.shortfid))
|
||||
fdm.append("%c\x01%c" % (TAG["SHORTFID"], file.shortfid << 3))
|
||||
else:
|
||||
fdm.append("%c\x00" % TAG["SHORTFID"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user