From 95144729045fe00130f6b3547c04d40d1b48b157 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 13 Jul 2014 15:56:06 +0200 Subject: avutil & avdevice: remove av_bprint_fd_contents() 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 A better API will be implemented, but its not finished yet, this revert is to avoid potentially blocking the release Found-by: Hendrik Leppkes Signed-off-by: Michael Niedermayer --- libavutil/bprint.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libavutil/bprint.h') diff --git a/libavutil/bprint.h b/libavutil/bprint.h index 1b23b9fe3c..839ec1ec0d 100644 --- a/libavutil/bprint.h +++ b/libavutil/bprint.h @@ -213,11 +213,4 @@ int av_bprint_finalize(AVBPrint *buf, char **ret_str); void av_bprint_escape(AVBPrint *dstbuf, const char *src, const char *special_chars, enum AVEscapeMode mode, int flags); -/** - * Read contents of fd into print buffer up to EOF. - * - * @return 0 for success, error code otherwise - */ -int av_bprint_fd_contents(AVBPrint *pb, int fd); - #endif /* AVUTIL_BPRINT_H */ -- cgit v1.2.3