Function rsmpeg::ffi::av_apply_bitstream_filters[][src]

pub unsafe extern "C" fn av_apply_bitstream_filters(
    codec: *mut AVCodecContext,
    pkt: *mut AVPacket,
    bsfc: *mut AVBitStreamFilterContext
) -> i32
Expand description

Apply a list of bitstream filters to a packet.

@param codec AVCodecContext, usually from an AVStream @param pkt the packet to apply filters to. If, on success, the returned packet has size == 0 and side_data_elems == 0, it indicates that the packet should be dropped @param bsfc a NULL-terminated list of filters to apply @return >=0 on success; AVERROR code on failure