]> git.sesse.net Git - ffmpeg/commit
avformat/smacker: Support seeking to first frame
authorTimotej Lazar <timotej.lazar@araneo.si>
Wed, 17 Jun 2020 19:45:39 +0000 (21:45 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 28 Jul 2020 04:29:58 +0000 (06:29 +0200)
commitedea15657981ac85baa058f6cdb5588171349b83
tree3d34429b6d9ce5898af66e8f479063ab470f0de3
parent7c59e1b0f285cd7c7b35fcd71f49c5fd52cf9315
avformat/smacker: Support seeking to first frame

Add .read_seek function to the smacker demuxer for the special case of
seeking to ts=0. This is useful because smacker – like bink, with a
similar implementation – was mostly used to encode clips in video
games, where random seeks are rare but looping media are common.

Signed-off-by: Timotej Lazar <timotej.lazar@araneo.si>
libavformat/smacker.c