[FFmpeg-devel] [PATCH] avutil & avdevice: remove av_bprint_fd_contents()

Michael Niedermayer michaelni at gmx.at
Sun Jul 13 18:21:33 CEST 2014


On Sun, Jul 13, 2014 at 04:54:00PM +0100, Derek Buitenhuis wrote:
> On 7/13/2014 3:01 PM, Michael Niedermayer wrote:
> > MSVC does not allow passing file pointers between libs
> > This API can thus not work with MSVC and as it was very recently added
> > and its it was in no release its removial should not cause any problems
> > 
> > Found-by: Hendrik Leppkes <h.leppkes at gmail.com>
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> >  libavdevice/lavfi.c |   39 ++++++++++++++++-----------------------
> >  libavutil/bprint.c  |   24 ------------------------
> >  libavutil/bprint.h  |    7 -------
> >  3 files changed, 16 insertions(+), 54 deletions(-)
> 
> Could something like an AVIO-style read callback work?

probably yes

but id like to remove thi file descriptor based API before the relase
so noone has to hit the same msvc issue

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140713/a52ad361/attachment.asc>


More information about the ffmpeg-devel mailing list