avformat_find_stream_info: fallback to timestamps in analyzeduration check in more...
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Jul 2013 00:19:28 +0000 (02:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Jul 2013 00:37:24 +0000 (02:37 +0200)
commit5312c319be98c63b8e59695222a13068a0dbc7ab
treebf96ae523ed22a2888f8eb8a90d80f6d348d3aab
parent099e57bc38d7e53cf6823dfec349ff9fdaee99ba
avformat_find_stream_info: fallback to timestamps in analyzeduration check in more cases

This fixes speex in rtmp
Fixes Ticket2409

the nellymoser in flv case actually needs larger analyzeduration. The code
previously just failed to calculate the duration

If this causes any problems, like premature analyze/probe end, please report!

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c
tests/fate/filter-audio.mak