Commit 6c53bf63 authored by Baptiste Coudurier's avatar Baptiste Coudurier

fix rip body sid when muxing cbr

Originally committed as revision 17414 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cf6065ca
...@@ -1722,6 +1722,9 @@ static void mxf_write_random_index_pack(AVFormatContext *s) ...@@ -1722,6 +1722,9 @@ static void mxf_write_random_index_pack(AVFormatContext *s)
put_buffer(pb, random_index_pack_key, 16); put_buffer(pb, random_index_pack_key, 16);
klv_encode_ber_length(pb, 28 + 12*mxf->body_partitions_count); klv_encode_ber_length(pb, 28 + 12*mxf->body_partitions_count);
if (mxf->edit_unit_byte_count)
put_be32(pb, 1); // BodySID of header partition
else
put_be32(pb, 0); // BodySID of header partition put_be32(pb, 0); // BodySID of header partition
put_be64(pb, 0); // offset of header partition put_be64(pb, 0); // offset of header partition
......
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