mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
avformat/aviobuf/ffio_init_context: set seekable automatically
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7dc77613f6
commit
650355089c
@ -92,7 +92,7 @@ int ffio_init_context(AVIOContext *s,
|
||||
s->must_flush = 0;
|
||||
s->eof_reached = 0;
|
||||
s->error = 0;
|
||||
s->seekable = AVIO_SEEKABLE_NORMAL;
|
||||
s->seekable = seek ? AVIO_SEEKABLE_NORMAL : 0;
|
||||
s->max_packet_size = 0;
|
||||
s->update_checksum = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user