Mercurial > mplayer.hg
diff libmpdemux/muxer_lavf.c @ 25117:c6702b710b2c
Bring (de)muxer_lavf up to date with the libavformat API changes introduced by FFmpeg commit r11071.
Patch for demuxer_lavf.c by Chris Welton - electrostatic_1 at yahoo
Patch for muxer_lavf.c by me.
Approved by michaelni.
author | iive |
---|---|
date | Fri, 23 Nov 2007 10:44:33 +0000 |
parents | ad93c5ba83be |
children | 1318e956c092 |
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c Fri Nov 23 07:25:39 2007 +0000 +++ b/libmpdemux/muxer_lavf.c Fri Nov 23 10:44:33 2007 +0000 @@ -40,7 +40,7 @@ typedef struct { //AVInputFormat *avif; AVFormatContext *oc; - ByteIOContext pb; + ByteIOContext *pb; int audio_streams; int video_streams; int64_t last_pts; @@ -317,7 +317,7 @@ av_freep(&(priv->oc->streams[i])); } - url_fclose(&(priv->oc->pb)); + url_fclose(priv->oc->pb); av_free(priv->oc); }