Commit 65035508 authored by Hendrik Schreiber's avatar Hendrik Schreiber Committed by Michael Niedermayer

avformat/aviobuf/ffio_init_context: set seekable automatically

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7dc77613
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment