SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
security/libsrtp/patches/patch-test_rtp_decoder_c
Normal file
15
security/libsrtp/patches/patch-test_rtp_decoder_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
#1: probably a strict alignment fix
|
||||
|
||||
Index: test/rtp_decoder.c
|
||||
--- test/rtp_decoder.c.orig
|
||||
+++ test/rtp_decoder.c
|
||||
@@ -743,7 +743,8 @@ void rtp_decoder_handle_pkt(u_char *arg,
|
||||
dcdr->frame_nr++;
|
||||
|
||||
if ((dcdr->start_tv.tv_sec == 0) && (dcdr->start_tv.tv_usec == 0)) {
|
||||
- dcdr->start_tv = hdr->ts;
|
||||
+ dcdr->start_tv.tv_sec = hdr->ts.tv_sec;
|
||||
+ dcdr->start_tv.tv_usec = hdr->ts.tv_usec;
|
||||
}
|
||||
|
||||
if (hdr->caplen < dcdr->rtp_offset) {
|
Loading…
Add table
Add a link
Reference in a new issue