History

avformat/matroskadec: set all frames in a keyframe simple box as keyframes

And not just the first, as it was being done for lacing. The spec states that the flag applies to everything inside the simple box.

James Almer committed 1 year ago

Commit f656c001 parent f938b2b1 file · +1 −1Browse files

Unified · Split

libavformat/matroskadec.c+1−1
@@ -4224,7 +4224,7 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, AVBufferRef *buf · 4223 unmodified lines
4224 } else {4224 } else {
4225 res = matroska_parse_frame(matroska, track, st, buf, out_data,4225 res = matroska_parse_frame(matroska, track, st, buf, out_data,
4226 out_size, timecode, lace_duration,4226 out_size, timecode, lace_duration,
4227 pos, !n ? is_keyframe : 0,4227 pos, is_keyframe,
4228 blockmore, nb_blockmore,4228 blockmore, nb_blockmore,
4229 discard_padding);4229 discard_padding);
4230 if (res)4230 if (res)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t