diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-03-09 14:59:44 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-29 03:34:22 +0200 |
commit | 820b84d0658a695b697342b9f8ee11581ce50d55 (patch) | |
tree | 6da7dd472ca26fd3305b55e4d45b35b4c40a1cf2 /libavcodec/jpeglsenc.c | |
parent | 443fc852034b7d2971db6810c2a84f04e9da9a3f (diff) | |
download | ffmpeg-820b84d0658a695b697342b9f8ee11581ce50d55.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 'libavcodec/jpeglsenc.c')
0 files changed, 0 insertions, 0 deletions