[FFmpeg-cvslog] avformat/aviobuf/ffio_init_context: set seekable automatically
Hendrik Schreiber
git at videolan.org
Tue Jul 23 17:30:04 CEST 2013
ffmpeg | branch: master | Hendrik Schreiber <hs at tagtraum.com> | Tue Jul 23 11:25:34 2013 +0200| [650355089cc4b38a57c88203c81f4896a98a5a7e] | committer: Michael Niedermayer
avformat/aviobuf/ffio_init_context: set seekable automatically
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=650355089cc4b38a57c88203c81f4896a98a5a7e
---
libavformat/aviobuf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 93a187b..6efc0cf 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list