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.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to