[FFmpeg-devel] [PATCH] Introduce avio_dump_contents() and use it in lavd/lavfi.c

Nicolas George george at nsup.org
Sun Jul 20 10:14:44 CEST 2014


Le decadi 30 messidor, an CCXXII, Michael Niedermayer a écrit :
> > +/**
> > + * Read contents of h into print buffer up to EOF.
> > + *
> > + * @return 0 for success, error code otherwise
> > + */
> > +int avio_dump_contents(AVIOContext *h, AVBPrint *pb);
> not sure this is a good name, i think bprint should be in there
> somewhere, maybe nicolas has an idea/suggestion

Maybe av_bprint_from_avio() or avio_read_to_bprint(). Just some ideas.

The later could have a max_size additional argument to only read part of the
file, but that is not important.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140720/497c9faa/attachment.asc>


More information about the ffmpeg-devel mailing list