concatdec: simplify duration calculation in open_next_file
authorMarton Balint <cus@passwd.hu>
Mon, 9 Nov 2015 22:49:25 +0000 (23:49 +0100)
committerMarton Balint <cus@passwd.hu>
Tue, 24 Nov 2015 23:34:29 +0000 (00:34 +0100)
commitba9191ab3a51e2127ecf915dc0d803500b7cbcf0
treeb3eb1449cbf8aa0cf8d075e865ba4ea62e167ea5
parent8f60663c8b71306b4d3e4e41275c3548848af2d7
concatdec: simplify duration calculation in open_next_file

If duration is still AV_NOPTS_VALUE when opening the next file, we can assume
that outpoint is not set.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/concatdec.c