Commit 7be34052 authored by Baptiste Coudurier's avatar Baptiste Coudurier

fix header byte count

Originally committed as revision 17119 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b25ee3fb
......@@ -1036,11 +1036,12 @@ static void mxf_write_partition(AVFormatContext *s, int bodysid,
if (write_metadata) {
// mark the start of the headermetadata and calculate metadata size
int64_t pos, start = url_ftell(s->pb);
int64_t pos, start;
unsigned header_byte_count;
mxf_write_klv_fill(s);
start = url_ftell(s->pb);
mxf_write_primer_pack(s);
mxf_write_header_metadata_sets(s);
pos = url_ftell(s->pb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment