summaryrefslogtreecommitdiffstats
path: root/extra/vlc/ffmpeg-20071204.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vlc/ffmpeg-20071204.patch')
-rw-r--r--extra/vlc/ffmpeg-20071204.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/vlc/ffmpeg-20071204.patch b/extra/vlc/ffmpeg-20071204.patch
new file mode 100644
index 000000000..97bf5d9f5
--- /dev/null
+++ b/extra/vlc/ffmpeg-20071204.patch
@@ -0,0 +1,14 @@
+--- 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;