aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/riff.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-02-04 20:31:21 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-02-05 14:21:16 +0100
commit1b0dc96fc98f29fbd0d8d4bd8335982e5d47f2c8 (patch)
tree738ffb3c7229b55d7f0a62a4ea4e15fd55b8ac56 /libavformat/riff.c
parent982783ac49c1a1f0739cad9cf0ec8a7b5d427e62 (diff)
downloadffmpeg-1b0dc96fc98f29fbd0d8d4bd8335982e5d47f2c8.tar.gz
oggdec: fix keyframe seeking when granule_is_start is 0.
In this case, the pts values will be delayed by one, but at the same time pts values might only be supplied for e.g. keyframes. This results on only the frame after the keyframe having a pts value. As a hack, make read_timestamp return the keyframe position together with the pts from a following frame when seeking to a keyframe. Fixes trac issue #438. However it causes the read_timestamp function to return a pos value that is actually before the packet with the indicated pts. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/riff.c')
0 files changed, 0 insertions, 0 deletions