rmdec: correct DTS calculation in RealMedia container.
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 11 Aug 2011 12:44:05 +0000 (14:44 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 17 Aug 2011 13:00:42 +0000 (15:00 +0200)
commit7c1f6df4b5f80ead35b66e5373af6c8046bace56
tree53842e72bcfd13d61eb77ab5752c9bc24041e5b5
parent331971116d7d36743601bd2dc5384c5211d3bb48
rmdec: correct DTS calculation in RealMedia container.

First, container stores only DTS and not PTS as it was believed.
Second, multiple frames in a packet store timestamp instead of position
after the frame length.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/rmdec.c
tests/ref/fate/rv30