Struct DataInterface¶
Defined in File adaptor.h
Struct Documentation¶
-
struct DataInterface¶
Interface for accessing media data sources.
DataInterface encapsulates FFmpeg’s AVFormatContext and AVIOContext, managing their lifetimes and providing a uniform interface for different data sources (files, URLs, memory buffers).
The demuxer implementation uses AVFormatContext::url for error reporting, so implementations should ensure this field is populated.