On 23 March 2012 12:40, Luca Barbato <lu_z...@gentoo.org> wrote: > --- > libavformat/avformat.h | 1 + > libavformat/options.c | 1 + > libavformat/utils.c | 13 ++++++++----- > 3 files changed, 10 insertions(+), 5 deletions(-) >
The commit message probably should mention this affects only the stream analysis phase. Feel free to lift from here: http://lists.libav.org/pipermail/libav-devel/2012-July/031520.html > diff --git a/libavformat/avformat.h b/libavformat/avformat.h > index e0b3b3f..31300c8 100644 > --- a/libavformat/avformat.h > +++ b/libavformat/avformat.h > @@ -806,6 +806,7 @@ typedef struct AVFormatContext { > #define AVFMT_FLAG_NOPARSE 0x0020 ///< Do not use AVParsers, you also > must set AVFMT_FLAG_NOFILLIN as the fillin code works on frames and no > parsing -> no frames. Also seeking to frames can not work if parsing to find > frame boundaries has been disabled > #define AVFMT_FLAG_CUSTOM_IO 0x0080 ///< The caller has supplied a custom > AVIOContext, don't avio_close() it. > #define AVFMT_FLAG_DISCARD_CORRUPT 0x0100 ///< Discard frames marked > corrupted > +#define AVFMT_FLAG_NOBUFFER 0x0200 ///< Do not buffer frames when > possible > Is there a reason for leaving 0x0040 empty? _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel