Commit ca276e6a authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

simplify current partition offset

Originally committed as revision 15105 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 158efd74
...@@ -693,7 +693,7 @@ static void mxf_write_partition(AVFormatContext *s, int64_t byte_position, int b ...@@ -693,7 +693,7 @@ static void mxf_write_partition(AVFormatContext *s, int64_t byte_position, int b
put_be16(pb, 2); // minorVersion put_be16(pb, 2); // minorVersion
put_be32(pb, 1); // kagSize put_be32(pb, 1); // kagSize
put_be64(pb, byte_position); // thisPartition put_be64(pb, url_ftell(pb) - 25); // thisPartition
put_be64(pb, 0); // previousPartition put_be64(pb, 0); // previousPartition
// set offset // set offset
......
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