[vlc-commits] Fix ByteIOContext init on recent libavformat
Laurent Aimar
git at videolan.org
Tue Jun 7 00:45:51 CEST 2011
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jun 7 00:43:56 2011 +0200| [4fc3bd15a3844e41a75760fa8e100feecea969a5] | committer: Jean-Baptiste Kempf
Fix ByteIOContext init on recent libavformat
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4fc3bd15a3844e41a75760fa8e100feecea969a5
---
modules/demux/avformat/demux.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index b09cf50..e20d249 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -223,6 +223,9 @@ int OpenDemux( vlc_object_t *p_this )
*/
p_sys->url.is_streamed = 1;
p_sys->io.is_streamed = 1;
+#if defined(AVIO_SEEKABLE_NORMAL)
+ p_sys->io.seekable = 0;
+#endif
}
More information about the vlc-commits
mailing list