movdec: fix dts generation in fragmented files
Do not use AVStream's duration for dts generation since it contains in some cases the duration of the whole file instead of duration of the samples in the moov. This happens if the mdhd holds the duration of the whole file but has no entries or a zero duration in its stts.
Showing
Please
register
or
sign in
to comment