Skip to content

Commit

Permalink
avformat/mxfenc: fix index byte count in partition header
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoudurier committed Jul 22, 2019
1 parent d51d71c commit 9e24b98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libavformat/mxfenc.c
Expand Up @@ -1944,8 +1944,7 @@ static int mxf_write_partition(AVFormatContext *s, int bodysid,
index_byte_count = 80;

if (index_byte_count) {
// add encoded ber length
index_byte_count += 16 + klv_ber_length(index_byte_count);
index_byte_count += 16 + 4; // add encoded ber4 length
index_byte_count += klv_fill_size(index_byte_count);
}

Expand Down

0 comments on commit 9e24b98

Please sign in to comment.