[FFmpeg-cvslog] r24696 - trunk/libavformat/rtpdec_xiph.c
mstorsjo
subversion
Wed Aug 4 19:22:26 CEST 2010
Author: mstorsjo
Date: Wed Aug 4 19:22:25 2010
New Revision: 24696
Log:
rtpdec_xiph: Correct the bitmask for num_pkts
Modified:
trunk/libavformat/rtpdec_xiph.c
Modified: trunk/libavformat/rtpdec_xiph.c
==============================================================================
--- trunk/libavformat/rtpdec_xiph.c Wed Aug 4 08:57:02 2010 (r24695)
+++ trunk/libavformat/rtpdec_xiph.c Wed Aug 4 19:22:25 2010 (r24696)
@@ -85,7 +85,7 @@ static int xiph_handle_packet(AVFormatCo
ident = AV_RB24(buf);
fragmented = buf[3] >> 6;
tdt = (buf[3] >> 4) & 3;
- num_pkts = buf[3] & 7;
+ num_pkts = buf[3] & 0xf;
pkt_len = AV_RB16(buf + 4);
if (pkt_len > len - 6) {
More information about the ffmpeg-cvslog
mailing list