projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d6385
)
rtpdec_xiph: Correct the bitmask for num_pkts
author
Martin Storsjö
<martin@martin.st>
Wed, 4 Aug 2010 17:22:25 +0000
(17:22 +0000)
committer
Martin Storsjö
<martin@martin.st>
Wed, 4 Aug 2010 17:22:25 +0000
(17:22 +0000)
Originally committed as revision 24696 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtpdec_xiph.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_xiph.c
b/libavformat/rtpdec_xiph.c
index
4c44c8a
..
9b5e3e3
100644
(file)
--- 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) {