[Ffmpeg-cvslog] r7631 - trunk/libavformat/asf.c

michael subversion
Sun Jan 21 23:46:14 CET 2007


Author: michael
Date: Sun Jan 21 23:46:14 2007
New Revision: 7631

Modified:
   trunk/libavformat/asf.c

Log:
useless &0x80


Modified: trunk/libavformat/asf.c
==============================================================================
--- trunk/libavformat/asf.c	(original)
+++ trunk/libavformat/asf.c	Sun Jan 21 23:46:14 2007
@@ -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);




More information about the ffmpeg-cvslog mailing list