On Thu, Apr 07, 2016 at 07:38:04PM -0500, Rodger Combs wrote: > This allows a consumer to run the muxer's init function without actually > writing the header, which is useful in chained muxers that support > automatic bitstream filtering. > --- > libavformat/avformat.h | 30 +++++++++++++++++++++++-- > libavformat/internal.h | 10 +++++++++ > libavformat/mux.c | 59 > +++++++++++++++++++++++++++++++++++++++----------- > libavformat/version.h | 2 +- > 4 files changed, 85 insertions(+), 16 deletions(-) > > diff --git a/libavformat/avformat.h b/libavformat/avformat.h > index 3b41b57..908d3d1 100644 > --- a/libavformat/avformat.h > +++ b/libavformat/avformat.h > @@ -616,6 +616,8 @@ typedef struct AVOutputFormat { > * AVStream parameters that need to be set before packets are sent. > * This method must not write output. > * > + * Return 0 if streams were fully configured, 1 if not, negative AVERROR > on failure
this should use named identifers like (names just random, no preferrance on my side ...) #define ALL_STREAMS_CONFIGURED 0 #define NOT_ALL_STREAMS_CONFIGURED 1 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB You can kill me, but you cannot change the truth.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel