Compiling VLC 0.8.6d with ffmpeg svn
Posted: 07 Dec 2007 00:04
You can't compile VLC 0.8.6d with a recent ffmpeg svn without the following patch
http://git.altlinux.org/people/thresh/p ... 395edc91cd
http://git.altlinux.org/people/thresh/p ... 395edc91cd
Code: Select all
--- a/modules/codec/ffmpeg/mux.c
+++ b/modules/codec/ffmpeg/mux.c
@@ -133,7 +133,11 @@ int E_(OpenMux)( vlc_object_t *p_this )
return VLC_EGENERIC;
}
+#if LIBAVFORMAT_VERSION_INT >= ((52<<16)+(0<<8)+0)
+ p_sys->oc->pb = &p_sys->io;
+#else
p_sys->oc->pb = p_sys->io;
+#endif
p_sys->oc->nb_streams = 0;
p_sys->b_write_header = VLC_TRUE;