aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2007-08-31 18:24:09 +0000
committerDavid Conrad <lessen42@gmail.com>2007-08-31 18:24:09 +0000
commit84fa6e23fb6af2f697b895fe8919863b582acf3b (patch)
tree2f9805479c2fa48d7280631e6afc7025103d875f /libavformat
parent63ecfc1fe4261dc7a9b22651e3e0fccaf4b43a0d (diff)
downloadffmpeg-84fa6e23fb6af2f697b895fe8919863b582acf3b.tar.gz
SimpleBlock keyframe flag is the most significant bit
Originally committed as revision 10274 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroskadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 925d34a94f..9847d38df4 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -2291,7 +2291,7 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size,
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)