Are these changes something which should be fed back to the rtmpdump developers and checked in to the original source? I have no idea how to do that but it seems that this might be a bug others would benefit from (and, selfishly, I have no idea how to build my own version under raspbian).