OSDN Git Service

mov: do not set avg_frame_rate in the demuxer
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 16 Jan 2014 20:59:05 +0000 (15:59 -0500)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Mon, 20 Jan 2014 19:15:36 +0000 (19:15 +0000)
commitd01e684186bc1631bc176f06b89d33c27ec0d24d
treedaf89b15f45d885f64ac02ce7b500c6d6edd5c24
parent93c553c71ef48550ff7c2aa7b5712a7e01f1999f
mov: do not set avg_frame_rate in the demuxer

The track duration is often not reliable or is not the duration
represented by the number of frames. In those cases, avg_frame_rate
was reported incorrectly. Removing this code falls back to the
default calculation in avformat_find_stream_info().

This is a partial revert of commit c3aeaa540.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavformat/mov.c