This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
simplify
Originally committed as revision 9399 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs
18 years ago
parent
fd2e1d88a6
commit
1607c534bf
1 changed files
with
2 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-4
libavformat/matroskadec.c
+ 2
- 4
libavformat/matroskadec.c
View File
@@ -2271,10 +2271,8 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size,
/* block_time (relative to cluster time) */
block_time = AV_RB16(data);
data += 2;
size -= 2;
flags = *data;
data += 1;
size -= 1;
flags = *data++;
size -= 3;
if (is_keyframe == -1)
is_keyframe = flags & 1 ? PKT_FLAG_KEY : 0;
Write
Preview
Loading…
Cancel
Save