[FFmpeg-cvslog] r17414 - trunk/libavformat/mxfenc.c
bcoudurier
subversion
Wed Feb 18 02:05:06 CET 2009
Author: bcoudurier
Date: Wed Feb 18 02:05:06 2009
New Revision: 17414
Log:
fix rip body sid when muxing cbr
Modified:
trunk/libavformat/mxfenc.c
Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c Wed Feb 18 01:38:10 2009 (r17413)
+++ trunk/libavformat/mxfenc.c Wed Feb 18 02:05:06 2009 (r17414)
@@ -1722,7 +1722,10 @@ static void mxf_write_random_index_pack(
put_buffer(pb, random_index_pack_key, 16);
klv_encode_ber_length(pb, 28 + 12*mxf->body_partitions_count);
- put_be32(pb, 0); // BodySID of header partition
+ if (mxf->edit_unit_byte_count)
+ put_be32(pb, 1); // BodySID of header partition
+ else
+ put_be32(pb, 0); // BodySID of header partition
put_be64(pb, 0); // offset of header partition
for (i = 0; i < mxf->body_partitions_count; i++) {
More information about the ffmpeg-cvslog
mailing list