Browse Source

fix header byte count

Originally committed as revision 17119 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 16 years ago
parent
commit
7be3405291
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/mxfenc.c

+ 2
- 1
libavformat/mxfenc.c View File

@@ -1036,11 +1036,12 @@ static void mxf_write_partition(AVFormatContext *s, int bodysid,


if (write_metadata) { if (write_metadata) {
// mark the start of the headermetadata and calculate metadata size // 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; unsigned header_byte_count;


mxf_write_klv_fill(s); mxf_write_klv_fill(s);


start = url_ftell(s->pb);
mxf_write_primer_pack(s); mxf_write_primer_pack(s);
mxf_write_header_metadata_sets(s); mxf_write_header_metadata_sets(s);
pos = url_ftell(s->pb); pos = url_ftell(s->pb);


Loading…
Cancel
Save