Browse Source

avformat/aviobuf/ffio_init_context: set seekable automatically

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Hendrik Schreiber Michael Niedermayer 12 years ago
parent
commit
650355089c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/aviobuf.c

+ 1
- 1
libavformat/aviobuf.c View File

@@ -92,7 +92,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;




Loading…
Cancel
Save