mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
simplify current partition offset
Originally committed as revision 15105 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
158efd74fe
commit
ca276e6ae2
@ -693,7 +693,7 @@ static void mxf_write_partition(AVFormatContext *s, int64_t byte_position, int b
|
||||
put_be16(pb, 2); // minorVersion
|
||||
put_be32(pb, 1); // kagSize
|
||||
|
||||
put_be64(pb, byte_position); // thisPartition
|
||||
put_be64(pb, url_ftell(pb) - 25); // thisPartition
|
||||
put_be64(pb, 0); // previousPartition
|
||||
|
||||
// set offset
|
||||
|
Loading…
Reference in New Issue
Block a user