diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-10 22:59:13 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-10 22:59:13 +0000 |
commit | 0e633e2b017767789e8e564788ca9e9f5a20d2ca (patch) | |
tree | 8cfc39f9c5ad6507ade318b228d9b0fb127cfa81 /libavformat | |
parent | 6847ab437516fd6f845c4672a789c0c3e219bd22 (diff) | |
download | ffmpeg-0e633e2b017767789e8e564788ca9e9f5a20d2ca.tar.gz |
fix timecode value
Originally committed as revision 17139 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mxfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 6aba6ee60b..ae9e764b1f 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -1299,7 +1299,7 @@ static void mxf_write_system_item(AVFormatContext *s) unsigned fps, frame; uint32_t time_code; - frame = mxf->edit_units_count; + frame = mxf->last_indexed_edit_unit + mxf->edit_units_count; // write system metadata pack put_buffer(pb, system_metadata_pack_key, 16); |