OSDN Git Service

oggdec: subtract time of first packet only from duration when it is significant
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Aug 2011 21:20:09 +0000 (23:20 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Aug 2011 21:20:09 +0000 (23:20 +0200)
commit7e7012d0b491453b8de8ca34846f9d48501dc6c5
tree19a0bb59969f5b4d0d85bd2bc3a4e6eac77a9d4a
parentd2cab951e32d7688d41f475cd55475772c70dd39
oggdec: subtract time of first packet only from duration when it is significant
this fixes accuracy with normal ogg files while keeping support for ogg files
starting at times different from 0

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