diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-06-20 06:33:41 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2019-07-01 12:12:04 +0200 |
commit | 4877b5869ee1b3d17a3ed9b5b6d0988bd8b02b21 (patch) | |
tree | ef327168f9f82ea2a5973cc86d73551890e53aa9 /libavcodec/qtrle.c | |
parent | e51cc7ed856aa3d5e14c50a46d8156c79d483367 (diff) | |
download | ffmpeg-4877b5869ee1b3d17a3ed9b5b6d0988bd8b02b21.tar.gz |
libavformat/subfile: Improve AVSEEK_SIZE/SEEK_END seeking
The subfile protocol treats an end of 0 as meaning "until EOF"; this got
implemented by simply setting the end to INT64_MAX. But seeking relative
to EOF or AVSEEK_SIZE seeking hasn't been adapted; the result is that
e.g. the duration of transport streams isn't correctly determined when
this option is used. This is fixed in this patch.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/qtrle.c')
0 files changed, 0 insertions, 0 deletions