Mercurial > libavformat.hg
changeset 2415:3aa642c08cde libavformat
SimpleBlock keyframe flag is the most significant bit
author | conrad |
---|---|
date | Fri, 31 Aug 2007 18:24:09 +0000 |
parents | 85eec8b244d8 |
children | 1a2f353ac291 |
files | matroskadec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskadec.c Thu Aug 30 23:11:24 2007 +0000 +++ b/matroskadec.c Fri Aug 31 18:24:09 2007 +0000 @@ -2291,7 +2291,7 @@ flags = *data++; size -= 3; 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 (!is_keyframe || st != matroska->skip_to_stream)