[FFmpeg-devel] [PATCH] Introduce avio_dump_contents() and use it in lavd/lavfi.c
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel