[FFmpeg-cvslog] r15560 - trunk/libavformat/matroskaenc.c

aurel subversion
Sun Oct 5 00:47:10 CEST 2008


Author: aurel
Date: Sun Oct  5 00:47:10 2008
New Revision: 15560

Log:
matroskaenc: use correct EBML ID for block duration

Modified:
   trunk/libavformat/matroskaenc.c

Modified: trunk/libavformat/matroskaenc.c
==============================================================================
--- trunk/libavformat/matroskaenc.c	(original)
+++ trunk/libavformat/matroskaenc.c	Sun Oct  5 00:47:10 2008
@@ -778,7 +778,7 @@ static int mkv_write_packet(AVFormatCont
         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);
     }
 




More information about the ffmpeg-cvslog mailing list