#![deny(unsafe_op_in_unsafe_fn)]
mod raw {
#![allow(warnings)]
#![allow(unsafe_op_in_unsafe_fn)]
#[cfg(not(docsrs))]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
#[cfg(docsrs)]
include!("docsrs_stubs.rs");
}
pub use raw::*;
#[cfg(not(docsrs))]
pub mod avcodec;
#[cfg(not(docsrs))]
pub mod avformat;
#[cfg(not(docsrs))]
mod io_context;
#[cfg(not(docsrs))]
pub mod swresample;
#[cfg(not(docsrs))]
pub mod swscale;
#[cfg(not(docsrs))]
mod bsf;
#[cfg(not(docsrs))]
mod buffersink;
#[cfg(not(docsrs))]
mod codec;
#[cfg(not(docsrs))]
mod codec_context;
mod constants;
mod error;
pub mod error_codes;
#[cfg(not(docsrs))]
mod format_context;
#[cfg(not(docsrs))]
mod frame;
#[cfg(not(docsrs))]
mod hwdevice;
mod io_traits;
mod log_bridge;
#[cfg(not(docsrs))]
mod packet;
#[cfg(not(docsrs))]
mod resample_context;
#[cfg(not(docsrs))]
mod scale_context;
mod utils;
#[cfg(not(docsrs))]
pub use bsf::BsfContext;
#[cfg(not(docsrs))]
pub use buffersink::{BufferSinkOutcome, buffersink_get_frame};
#[cfg(not(docsrs))]
pub use codec::Codec;
#[cfg(not(docsrs))]
pub use codec_context::{CodecContext, ReceiveOutcome};
pub use constants::{
AV_NOPTS_VALUE, AVFMT_FLAG_CUSTOM_IO, AVFMT_NOFILE, AVFMT_TS_DISCONT, BUFFERSRC_FLAG_KEEP_REF,
};
pub use error::AvError;
#[cfg(not(docsrs))]
pub use format_context::{
ChapterRef, ChapterSpec, CodecParameters, InputFormatContext, OutputFormatContext, StreamRef,
};
#[cfg(not(docsrs))]
pub use frame::Frame;
#[cfg(not(docsrs))]
pub use hwdevice::HwDeviceContext;
pub use io_traits::{IoSink, IoSource};
pub use log_bridge::{install_log_bridge, log_level, set_log_level};
#[cfg(not(docsrs))]
pub use packet::Packet;
#[cfg(not(docsrs))]
pub use resample_context::ResampleContext;
#[cfg(not(docsrs))]
pub use scale_context::ScaleContext;
pub use utils::{av_error_string, ensure_initialized};