[FFmpeg-devel] [PATCH] avformat/options_table: Set the default maximum number of streams to 100
george at nsup.org
Sun Dec 11 18:09:18 EET 2016
Le primidi 21 frimaire, an CCXXV, wm4 a écrit :
> Right. I looked and font data is in extradata. That doesn't seem very
> ideal. Rather than making extradata refcounted, this should probably be
> a new AVPacket* field.
It feels like a round peg in a square hole: use the existing structures
even when they are not really convenient.
In particular, you still end up loading all the attachments into memory
even if they are not needed at all. They can be freed later, but still
are loaded, wasting time and resources.
I think a new function av_get_attachment_data() would be much more
convenient, and a new AVInputFormat method to let muxers load attachment
data only when requested.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel