movenc: Adjust the pts of new fragments similarly to what is done for dts
authorMartin Storsjö <martin@martin.st>
Sun, 23 Nov 2014 21:23:43 +0000 (23:23 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 18 Dec 2014 21:14:27 +0000 (23:14 +0200)
commit59f0275dd0a42a7f90271a83a78e9ca5e69ff5b0
treed44cef3e693df8726c54bdef3b29673876be87b3
parent8a70ef94b9c377293b3dfa7d92cdc81a4fe1543a
movenc: Adjust the pts of new fragments similarly to what is done for dts

The pts and the corresponding duration is written in sidx
atoms, thus make sure these match up correctly.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c
libavformat/movenc.h