diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-03-09 14:59:44 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-21 01:52:52 +0100 |
commit | 93a0682b1d73f114720cd5c5bd69740546f78cdb (patch) | |
tree | 05d01f47469fb00762177a432b2cd9c0392eed7c /tests/utils.c | |
parent | 0e16c3843a3b2cd06b90898c04d85ed3d82266bb (diff) | |
download | ffmpeg-93a0682b1d73f114720cd5c5bd69740546f78cdb.tar.gz |
ffmdec: limit the backward seek to the last resync position
If resyncing leads to the same position as previously, it will again
lead to a resync attempt, resulting in an infinite loop.
Thus don't seek back beyond the last syncpoint.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6b8263b03ab3d16d70525ae1893cb106be7852f1)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/utils.c')
0 files changed, 0 insertions, 0 deletions