That's completely gets rid of the invalid AMF data, but for some reason it still errors out on RTMPDump:
https://dl.dropboxusercontent.com/u/...tmpsrv-log.txt
The thing I always noticed between the older and newer RTMPSrvs I had was when 2011-07-11 was recording it always claimed the AMF Data was "-C 0:0 -C 0:1" such as I seen from your fix, but the original ones from this thread claim they got the strange chars I mentioned before.