diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-10-04 22:47:10 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-10-04 22:47:10 +0000 |
commit | 291902c27408f9bedf23a770f3eab14b0a8fc5f9 (patch) | |
tree | 370191299cfec93f8b394f415259c461f02daa4c | |
parent | 1bfbe8ff9d9156ca853b35923bafa116821b6c92 (diff) | |
download | ffmpeg-291902c27408f9bedf23a770f3eab14b0a8fc5f9.tar.gz |
matroskaenc: use correct EBML ID for block duration
Originally committed as revision 15560 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/matroskaenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 79ea35373e..6b5d3ac26a 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -778,7 +778,7 @@ static int mkv_write_packet(AVFormatContext *s, AVPacket *pkt) 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); } |