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>
Wed, 4 Jan 2012 23:49:45 +0000 (00:49 +0100)
commitad8e3304f701820f927527d8f0d11679738636df
tree9f26cc770b74964da870a9be0e83a5f2889b2060
parent1171d938af219aa1217a472391bc392f6e698386
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>
libavformat/utils.c