lavc: update pkt_duration for skipped samples.
authorNicolas George <nicolas.george@normalesup.org>
Sun, 15 Jul 2012 14:24:59 +0000 (16:24 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Thu, 19 Jul 2012 21:41:03 +0000 (23:41 +0200)
commitcd089003936030c506fb7a28e9a26e028b1aece0
tree0bd1d5f48a31597cd675abcc90d215c48ecd2038
parentd853ed46b1732c80016e0dbae83810104a84ed32
lavc: update pkt_duration for skipped samples.

Also: factor the the computation of the timestamp difference.
libavcodec/utils.c