summaryrefslogtreecommitdiff
path: root/src/h__Writer.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2010-11-15 17:04:13 +0000
committerjhurst <>2010-11-15 17:04:13 +0000
commit87d8df7af62597f68645cbb7b07cb130ab2a1adb (patch)
tree497d70ef10e1f222537eecf9a7c36794dc4a5724 /src/h__Writer.cpp
parentb6fd53ca44570ef077932b468402dc6797e71f95 (diff)
release!
Diffstat (limited to 'src/h__Writer.cpp')
-rwxr-xr-xsrc/h__Writer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/h__Writer.cpp b/src/h__Writer.cpp
index 2882e33..db263bb 100755
--- a/src/h__Writer.cpp
+++ b/src/h__Writer.cpp
@@ -548,6 +548,9 @@ ASDCP::h__Writer::WriteEKLVPacket(const ASDCP::FrameBuffer& FrameBuf, const byte
{
BER_length = Kumu::get_BER_length_for_value(ETLength);
+ // the packet is longer by the difference in expected vs. actual BER length
+ ETLength += BER_length - MXF_BER_LENGTH;
+
if ( BER_length == 0 )
result = RESULT_KLV_CODING;
}