Mercurial > libavformat.hg
changeset 1695:9e8904d2007d libavformat
useless &0x80
author | michael |
---|---|
date | Sun, 21 Jan 2007 22:46:14 +0000 |
parents | bbb1abaa43cb |
children | fdea5fc3362f |
files | asf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/asf.c Sun Jan 21 22:41:37 2007 +0000 +++ b/asf.c Sun Jan 21 22:46:14 2007 +0000 @@ -571,7 +571,7 @@ 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);