id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
2181,AVIO should provide a way to reconnect broken network streams,gjdfgh,,"How to reproduce:
{{{
Terminal 1:
% while true ; do nc -l -p 10000 ; done

Terminal 2:
% ffplay http://localhost:10000
}}}

Now terminate nc on terminal 1 with ctrl+c (the shell will start another nc instance immediately). ffplay will just terminate with ""http://localhost:10000: Input/output error"", while mplayer (using the same URL) will reconnect.

I suggest libavformat should do one of the following:
1. provide a ""reconnect"" API call
2. transparently try to reconnect internally, until a timeout is reached",enhancement,new,normal,avformat,git-master,,,,,,0,0
