Mercurial > libavformat.hg
diff avformat.h @ 370:845f9de2c883 libavformat
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author | michael |
---|---|
date | Wed, 03 Mar 2004 15:41:21 +0000 |
parents | b2a0f47067ed |
children | b0e50e10472c |
line wrap: on
line diff
--- a/avformat.h Wed Feb 25 17:35:52 2004 +0000 +++ b/avformat.h Wed Mar 03 15:41:21 2004 +0000 @@ -241,6 +241,7 @@ /* format I/O context */ typedef struct AVFormatContext { + AVClass class; /* set by av_alloc_format_context */ /* can only be iformat or oformat, not both at the same time */ struct AVInputFormat *iformat; struct AVOutputFormat *oformat; @@ -523,6 +524,8 @@ AVInputFormat *fmt, int buf_size, AVFormatParameters *ap); +/* no av_open for output, so applications will need this: */ +AVFormatContext *av_alloc_format_context(void); #define AVERROR_UNKNOWN (-1) /* unknown error */ #define AVERROR_IO (-2) /* i/o error */