On 1/11/2022 5:45 PM, Anton Khirnov wrote:
+/** + * Allocate and initialize an AVFifoBuffer with a given element size. + * + * @param f pointer to the newly-allocated FIFO will be written here on success + * @param nb_elems initial number of elements that can be stored in the FIFO + * @param elem_size Size in bytes of a single element. Further operations on + * the returned FIFO will implicitly use this element size. + * @param flags currently unused, must be 0 + * + * @return newly-allocated AVFifoBuffer on success, a negative error code on failure + */ +AVFifoBuffer *av_fifo_alloc2(size_t elems, size_t elem_size, + unsigned int flags);
The documentation doesn't match the signature. _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
