mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/av1dec: Disallow seeking by bytes
The low overhead OBU format provides no means to resync after performing a byte-based seek; in other words: Byte based seeking is just not supported. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
3f938cd46a
commit
0383ec88a5
@ -428,7 +428,7 @@ const AVInputFormat ff_obu_demuxer = {
|
||||
.read_packet = obu_read_packet,
|
||||
.read_close = av1_read_close,
|
||||
.extensions = "obu",
|
||||
.flags = AVFMT_GENERIC_INDEX,
|
||||
.flags = AVFMT_GENERIC_INDEX | AVFMT_NO_BYTE_SEEK,
|
||||
.priv_class = &av1_demuxer_class,
|
||||
};
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user