View Single Post
  #478  
Old 01-02-2019, 06:49 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Hi,

I tried this to compile it successfully to make a static build.
Code:
LDFLAGS="-static -L/c/.....
Just adding -static command at the beginning.I also just did removed the command #define off_t off64_t only.At the end there is one little problem using pageurl command.So if you dont use a slash at the end (.com/) then it crashs (access violation at offset / RVA 0000ED6E).Not sure whether its the reason for removing that command from the source or not.The code at this locations looks are but diffrent compared to other rtmpdump version without having that issue.
Code:
0040ED62   .  8B78 04               MOV EDI,DWORD PTR DS:[EAX+0x4]   ;  <-- none address in [eax+4] if slash missing
0040ED65   .  89D0                  MOV EAX,EDX
0040ED67   .  89BC24 58010000       MOV DWORD PTR SS:[ESP+0x158],EDI
0040ED6E   .  F2:AE                 REPNE SCAS BYTE PTR ES:[EDI]     ;  AVio
greetz
Reply With Quote