# HG changeset patch # User iive # Date 1195690949 0 # Node ID ad93c5ba83be5c4e3abaa8fb0670f29bae32f4ed # Parent c0f76c08044a812cb2974e108fd15d9a85189d00 Fix compilation error. FFmpeg commit r11071 removed the static ByteIOContext from AVFormatContext and replaced it with a dynamic one. Thus muxer_lavf.c needs to be modified to reflect the change. diff -r c0f76c08044a -r ad93c5ba83be libmpdemux/muxer_lavf.c --- a/libmpdemux/muxer_lavf.c Wed Nov 21 17:15:20 2007 +0000 +++ b/libmpdemux/muxer_lavf.c Thu Nov 22 00:22:29 2007 +0000 @@ -400,7 +400,7 @@ goto fail; } - ((URLContext*)(priv->oc->pb.opaque))->priv_data= muxer; + ((URLContext*)(priv->oc->pb->opaque))->priv_data= muxer; muxer->priv = (void *) priv; muxer->cont_new_stream = &lavf_new_stream;