On the application of FEC to counter packet loss caused by buffer overflow