On Tue, Feb 04, 2014 at 09:54:38PM +0100, Anton Khirnov wrote: > --- a/libavformat/avformat.h > +++ b/libavformat/avformat.h > @@ -1457,28 +1457,35 @@ int av_write_frame(AVFormatContext *s, AVPacket *pkt); > * > * @param s media file handle > - * @param pkt The packet containing the data to be written. pkt->buf must be > set > - * to a valid AVBufferRef describing the packet data. Libavformat takes > - * ownership of this reference and will unref it when it sees fit. The caller > - * must not access the data through this reference after this function > returns. > - * This can be NULL (at any time, not just at the end), to flush the > - * interleaving queues. > - * Packet's @ref AVPacket.stream_index "stream_index" field must be set to > the > - * index of the corresponding stream in @ref AVFormatContext.streams > - * "s.streams". > - * It is very strongly recommended that timing information (@ref AVPacket.pts > - * "pts", @ref AVPacket.dts "dts" @ref AVPacket.duration "duration") is set > to > - * correct values. > + * @param pkt @parblock > + * The packet containing the data to be written. > + * > + * If the packet is reference-counted, this function will take > + * ownership of this reference and unref it later when it sees > fit.
s/unref/unreference/ probably OK otherwise Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
