changeset 3987:632514d0ee21 libavformat

matroskaenc: use correct EBML ID for block duration
author aurel
date Sat, 04 Oct 2008 22:47:10 +0000
parents 2a7d8acde051
children edb053f67ffc
files matroskaenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/matroskaenc.c	Sat Oct 04 22:44:50 2008 +0000
+++ b/matroskaenc.c	Sat Oct 04 22:47:10 2008 +0000
@@ -778,7 +778,7 @@
         ebml_master blockgroup = start_ebml_master(pb, MATROSKA_ID_BLOCKGROUP, mkv_blockgroup_size(pkt->size));
         duration = pkt->convergence_duration;
         mkv_write_block(s, MATROSKA_ID_BLOCK, pkt, 0);
-        put_ebml_uint(pb, MATROSKA_ID_DURATION, duration);
+        put_ebml_uint(pb, MATROSKA_ID_BLOCKDURATION, duration);
         end_ebml_master(pb, blockgroup);
     }