avformat/utils: Pass the next pts/dts to compute_pkt_fields() when available

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/utils: Compute the current pts of mpeg1/2 I/P frames from the next frame when available

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>