[rtmpdump] branch master updated. a1114e0 Fix AVreplace for usherToken
gitolite
gil at avcodec.org
Tue Aug 9 23:44:38 CEST 2011
The branch, master has been updated
via a1114e09bf0d74ef1d575eb88f3aa36bc7c6d790 (commit)
from c528451068de033d7cc76eb1c5a606c10215fcfb (commit)
- Log -----------------------------------------------------------------
commit a1114e09bf0d74ef1d575eb88f3aa36bc7c6d790
Author: Howard Chu <hyc at highlandsun.com>
AuthorDate: Tue Aug 9 14:44:14 2011 -0700
Commit: Howard Chu <hyc at highlandsun.com>
CommitDate: Tue Aug 9 14:44:14 2011 -0700
Fix AVreplace for usherToken
diff --git a/rtmpsrv.c b/rtmpsrv.c
index b45aae3..91fc4da 100644
--- a/rtmpsrv.c
+++ b/rtmpsrv.c
@@ -1168,11 +1168,11 @@ AVreplace(AVal *src, const AVal *orig, const AVal *repl)
{
n = sptr - srcbeg;
memcpy(dptr, srcbeg, n);
- srcbeg += n;
dptr += n;
memcpy(dptr, repl->av_val, repl->av_len);
dptr += repl->av_len;
sptr += orig->av_len;
+ srcbeg = sptr;
}
n = srcend - srcbeg;
memcpy(dptr, srcbeg, n);
-----------------------------------------------------------------------
Summary of changes:
rtmpsrv.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
More information about the rtmpdump
mailing list