mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Revert "matroskadec: set default duration for simple block"
This reverts commit 98a7d560b4f835ba5b99b9974ee1a2c096198bea. This has been implemented differently by aurel already
This commit is contained in:
parent
797ef671dd
commit
1c0a472630
@ -1859,8 +1859,6 @@ static int matroska_parse_cluster(MatroskaDemuxContext *matroska)
|
||||
for (i=0; i<blocks_list->nb_elem; i++)
|
||||
if (blocks[i].bin.size > 0 && blocks[i].bin.data) {
|
||||
int is_keyframe = blocks[i].non_simple ? !blocks[i].reference : -1;
|
||||
if (!blocks[i].non_simple)
|
||||
blocks[i].duration = AV_NOPTS_VALUE;
|
||||
res=matroska_parse_block(matroska,
|
||||
blocks[i].bin.data, blocks[i].bin.size,
|
||||
blocks[i].bin.pos, cluster.timecode,
|
||||
|
Loading…
x
Reference in New Issue
Block a user