Commit 737b3972 authored by Martin Storsjö's avatar Martin Storsjö

rtpdec_xiph: Correct the bitmask for num_pkts

Originally committed as revision 24696 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 49d63851
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment