useless &0x80

Originally committed as revision 7631 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-01-21 22:46:14 +00:00
parent 7ce6a249c7
commit b586d9eac3
1 changed files with 1 additions and 1 deletions

View File

@ -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);