[SCM] libav/experimental: rtpdec_xiph: Correct the bitmask for num_pkts
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:13:34 UTC 2013
The following commit has been merged in the experimental branch:
commit 737b3972b5272f99beadfebca64eaf81e98fcf4d
Author: Martin Storsjö <martin at martin.st>
Date: Wed Aug 4 17:22:25 2010 +0000
rtpdec_xiph: Correct the bitmask for num_pkts
Originally committed as revision 24696 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c
index 4c44c8a..9b5e3e3 100644
--- a/libavformat/rtpdec_xiph.c
+++ b/libavformat/rtpdec_xiph.c
@@ -85,7 +85,7 @@ static int xiph_handle_packet(AVFormatContext * ctx,
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) {
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list