flvdec: perform duration search just once
When loading a truncated flv file, it would previously try to do a seek to
the end of every packet read. For some input protocols (such as http), such
repeated seek attempts are cripple the reading performance.
Signed-off-by: NMartin Storsjö <martin@martin.st>
Showing
想要评论请 注册 或 登录