Commit 8ffd50c0 authored by conrad's avatar conrad

SimpleBlock keyframe flag is the most significant bit

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10274 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
No related merge requests found
...@@ -2291,7 +2291,7 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size, ...@@ -2291,7 +2291,7 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size,
flags = *data++; flags = *data++;
size -= 3; size -= 3;
if (is_keyframe == -1) if (is_keyframe == -1)
is_keyframe = flags & 1 ? PKT_FLAG_KEY : 0; is_keyframe = flags & 0x80 ? PKT_FLAG_KEY : 0;
if (matroska->skip_to_keyframe) { if (matroska->skip_to_keyframe) {
if (!is_keyframe || st != matroska->skip_to_stream) if (!is_keyframe || st != matroska->skip_to_stream)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment