Fix for issue #454 https://code.google.com/p/red5/issues/detail?id=454