summaryrefslogtreecommitdiffstats
path: root/libmpdemux/muxer_lavf.c
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-23 10:44:33 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-23 10:44:33 +0000
commit958c41d9b69843301352a6350cde6a3eecf9c309 (patch)
tree47e88233bd2525122814651db038164126df4584 /libmpdemux/muxer_lavf.c
parent5b1720b92b414ed257411e2d08ccbbb29f0a3cdf (diff)
downloadmpv-958c41d9b69843301352a6350cde6a3eecf9c309.tar.bz2
mpv-958c41d9b69843301352a6350cde6a3eecf9c309.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25145 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/muxer_lavf.c')
-rw-r--r--libmpdemux/muxer_lavf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/muxer_lavf.c b/libmpdemux/muxer_lavf.c
index 473ca8432f..8a8851573e 100644
--- a/libmpdemux/muxer_lavf.c
+++ b/libmpdemux/muxer_lavf.c
@@ -40,7 +40,7 @@ extern char *info_comment;
typedef struct {
//AVInputFormat *avif;
AVFormatContext *oc;
- ByteIOContext pb;
+ ByteIOContext *pb;
int audio_streams;
int video_streams;
int64_t last_pts;
@@ -317,7 +317,7 @@ static void write_trailer(muxer_t *muxer)
av_freep(&(priv->oc->streams[i]));
}
- url_fclose(&(priv->oc->pb));
+ url_fclose(priv->oc->pb);
av_free(priv->oc);
}