lavf: use avg_frame_rate and packet number to exit find_stream_info
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Jan 2012 23:49:02 +0000 (00:49 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 5 Jan 2012 00:06:12 +0000 (01:06 +0100)
commit0a5bca957d0d6ee9e77150dc5a20038c178d5282
tree974e9a3538525553a34024d071e26e1d7df4d3a5
parent0f61521f69c13b0fa1d884bf8e850f45469331db
lavf: use avg_frame_rate and packet number to exit find_stream_info

qatar does this too but clobbers the AVPacket.duration by approximate
values.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ad8e3304f701820f927527d8f0d11679738636df)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c