Re: Customized rtmpdump binaries with patch fileQuote: 
	
 Anyway, I figured at first maybe they were trying to purposely break rtmpdump but I think your answer makes more sense.  | 
	
		
 Re: Customized rtmpdump binaries with patch fileThanks as always KSV :) 
	 | 
	
		
 Re: Customized rtmpdump binaries with patch fileMore info on the crash I've found: 
	After deeper debugging, I've found that the crash is happening in calloc: Code: 
	RTMPPacket_Alloc(RTMPPacket *p, int nSize)That memory corruption pointed me to run with valgrind, that showed the culprit: Code: 
	==22473== Invalid write of size 1So it seems that the memory corruption exists due to AMF_DecodeInt24 returning incorrect size: Code: 
	packet->m_nBodySize = AMF_DecodeInt24(header + 3);Code: 
	if (!RTMPPacket_Alloc(packet, packet->m_nBodySize))Code: 
	if (!RTMPPacket_Alloc(packet, 2*packet->m_nBodySize)) | 
	
		
 Re: Customized rtmpdump binaries with patch filetry updating the relevant block with following code. 
	Code: 
	          if (code == 302 && RTMP_FindFirstMatchingProperty(&obj2, &av_redirect, &p)) | 
	
		
 Re: Customized rtmpdump binaries with patch fileQuote: 
	
 Thanks KSV, it's SOLVED. Do you think it's worthy to look at the possible memory leaks pointed out by valgrind, like the Code: 
	char *url = malloc(len + 1)Thanks again  | 
	
		
 Re: Customized rtmpdump binaries with patch fileQuote: 
	
 http://www.mediafire.com/#x4cvp5hl4m9xr (look under Newer - ATV1+MacOS). I can make PPC versions if necessary but right now my cross-compilers are x86-based.  | 
	
		
 Re: Customized rtmpdump binaries with patch fileChanges: 
	Code: 
	1. added onFCSubscribe response to rtmpsrv to detect more streams | 
	
		
 Re: Customized rtmpdump binaries with patch fileQuote: 
	
  | 
	
		
 Re: Customized rtmpdump binaries with patch fileQuote: 
	
 The main difference between my both computer and notebook (the problem is on both) and my parents' comp - is OS. Mine are worked under Win7 Ultimate SP1 (with updates). Parents' - under WinXP. And what OS do you use, KSV?  | 
	
		
 Re: Customized rtmpdump binaries with patch fileQuote: 
	
  | 
| All times are GMT -6. The time now is 10:13 PM. |