avformat/utils: better probing for duration in estimate_timings_from_pts()
authorGaullier Nicolas <nicolas.gaullier@arkena.com>
Thu, 19 Jun 2014 17:26:31 +0000 (17:26 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Jun 2014 18:48:46 +0000 (20:48 +0200)
commit650ef180787d9185c98950017e54285d1026eb0b
tree41a20c0cffea9ec7f4b7146a6731f8e08b04bf02
parent5bf5e6b1c0fd1aa8f27242b603592ec28ed44cf5
avformat/utils: better probing for duration in estimate_timings_from_pts()

It seems it is more secure to simply duplicate the computing routine from compute_pkt_fields to estimate_timings_from_pts.

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