You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avio: Don't set the seekable flag if no seek function is provided
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
committed by
Martin Storsjö
parent
1297f7b87f
commit
b512360184
@@ -90,7 +90,7 @@ int ffio_init_context(AVIOContext *s,
|
|||||||
s->must_flush = 0;
|
s->must_flush = 0;
|
||||||
s->eof_reached = 0;
|
s->eof_reached = 0;
|
||||||
s->error = 0;
|
s->error = 0;
|
||||||
s->seekable = AVIO_SEEKABLE_NORMAL;
|
s->seekable = seek ? AVIO_SEEKABLE_NORMAL : 0;
|
||||||
s->max_packet_size = 0;
|
s->max_packet_size = 0;
|
||||||
s->update_checksum = NULL;
|
s->update_checksum = NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user