跳到主要内容

av_fifo_can_write

搜索

函数 av_fifo_can_write 

源代码
pub unsafe extern "C" fn av_fifo_can_write(f: *const AVFifo) -> usize
展开描述

@return Number of elements that can be written into the given FIFO without growing it.

    In other words, this number of elements or less is guaranteed to fit
    into the FIFO. More data may be written when the
    AV_FIFO_FLAG_AUTO_GROW flag was specified at FIFO creation, but this
    may involve memory allocation, which can fail.