]> git.sesse.net Git - ffmpeg/commit
avformat/matroskadec: only use the track duration if it exists
authorSteve Lhomme <robux4@ycbcr.xyz>
Sun, 15 Nov 2020 09:00:35 +0000 (10:00 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 20 Nov 2020 14:20:24 +0000 (15:20 +0100)
commit5bd870a2123915bdf63d57f468b0ef3c7b6823ea
treec93e198dc5d3bec1577cca6f18cdfe1293a29c85
parent3a2b786db0fe52ccdcb4a3276758c8ddd4887ce6
avformat/matroskadec: only use the track duration if it exists

No need to multiplying/dividing when we know it's zero.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/matroskadec.c