[FFmpeg-devel] [PATCH] avformat/options_table: Set the default maximum number of streams to 100

Nicolas George 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.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161211/4c1054b3/attachment.sig>

More information about the ffmpeg-devel mailing list