This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
rtpdec_xiph: Correct the bitmask for num_pkts
Originally committed as revision 24696 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Martin Storsjö
15 years ago
parent
49d63851cb
commit
737b3972b5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/rtpdec_xiph.c
+ 1
- 1
libavformat/rtpdec_xiph.c
View File
@@ -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) {
Write
Preview
Loading…
Cancel
Save