diff options
| author | jhurst <jhurst@cinecert.com> | 2010-11-15 17:04:13 +0000 |
|---|---|---|
| committer | jhurst <> | 2010-11-15 17:04:13 +0000 |
| commit | 87d8df7af62597f68645cbb7b07cb130ab2a1adb (patch) | |
| tree | 497d70ef10e1f222537eecf9a7c36794dc4a5724 /src/h__Writer.cpp | |
| parent | b6fd53ca44570ef077932b468402dc6797e71f95 (diff) | |
release!
Diffstat (limited to 'src/h__Writer.cpp')
| -rwxr-xr-x | src/h__Writer.cpp | 3 |
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; } |
