projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ce6a24
)
useless &0x80
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 21 Jan 2007 22:46:14 +0000
(22:46 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 21 Jan 2007 22:46:14 +0000
(22:46 +0000)
Originally committed as revision 7631 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/asf.c
patch
|
blob
|
history
diff --git
a/libavformat/asf.c
b/libavformat/asf.c
index
a182023
..
6b60dd6
100644
(file)
--- a/
libavformat/asf.c
+++ b/
libavformat/asf.c
@@
-571,7
+571,7
@@
static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
int num = get_byte(pb);
asf->packet_segments--;
rsize++;
- asf->packet_key_frame =
(num & 0x80)
>> 7;
+ asf->packet_key_frame =
num
>> 7;
asf->stream_index = asf->asfid2avid[num & 0x7f];
// sequence should be ignored!
DO_2BITS(asf->packet_property >> 4, asf->packet_seq, 0);