diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-01-21 22:46:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-01-21 22:46:14 +0000 |
commit | b586d9eac3dc0f62db06e1eb28374690ef310275 (patch) | |
tree | 19c4ee65e93e52c2fa0788acacb7c764d4a3c07c | |
parent | 7ce6a249c70ddec0f22e9471465c51dc968def28 (diff) | |
download | ffmpeg-b586d9eac3dc0f62db06e1eb28374690ef310275.tar.gz |
useless &0x80
Originally committed as revision 7631 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/asf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c index a18202333c..6b60dd6d2a 100644 --- 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); |