9514472904
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 <h.leppkes@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-07-15 21:49:56 +02:00
31d49db75e
avutil/bprint:ædd io.h, try to fix msvc build
...
Suggested-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-07-09 18:16:45 +02:00
0ebcf87803
protect unistd.h with #if HAVE_UNISTD_H in code from recent av_bprint_fd_contents() patches
...
Should fix build failure on MSVC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-07-08 01:54:30 +02:00
fcd1f6bc9d
avutil/bprint: Add av_bprint_fd_contents()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-07-07 21:28:18 +02:00
88f2586adb
fix various typos
...
Signed-off-by: Lou Logan <lou@lrcd.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-06-03 10:58:19 -08:00
0b46d6f3ef
lavu/bprint: add append buffer function
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Reveiwed-by: Nicolas George <nicolas.george@normalesup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-30 22:36:38 +02:00
d9c1fb8376
bprint: Include va_copy compat
...
Fixes build with MSVC and ICL.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-08-10 15:53:32 -04:00
112c970ca6
avutil/bprint: add av_vbprintf()
...
Reviewed-by: Nicolas George <nicolas.george@normalesup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 17:01:42 +02:00
9767ec6b86
lavu: add escape API
...
The escape API will be useful to perform escaping programmatically, which
is required when crafting argument strings, and will be used for context
printing as well.
This is based on the ffescape tool code, with a few extensions and fixes.
2013-03-07 01:12:04 +01:00
4cd74c8143
lavu/bprint: implement av_bprint_strftime().
2012-11-17 19:47:56 +01:00
483c1aa5f1
lavu/bprint: add av_bprint_get_buffer().
...
It is useful to use bprint to handle a growing buffer
used with another API.
2012-11-02 15:12:29 +01:00
d512e74dec
bprint: Remove custom vsnprintf
...
A proper implementation was introduced in
ba53720280
for MSVC, and
MinGW already has vsnprintf.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2012-09-15 19:47:10 -04:00
0c5fe2f0da
FATE/bprint: Convert a VLA to a normal array
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
Reviewed-by: Nicolas George <nicolas.george@normalesup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-09-12 05:22:46 +02:00
69bf775e9f
bprint: implement vsnprintf for win32.
2012-06-14 13:54:00 +02:00
4bfee465e9
bprint-test: avoid z modifier, mingw fails with it
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-06-10 03:49:31 +02:00
5b51efdc3a
fate-bprint: try to workaround platform specific value.
...
this should fix some fate failures
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-06-08 12:16:31 +02:00
b3e2bb08a9
bprint: add av_bprint_init_for_buffer().
2012-06-07 22:28:32 +02:00
9548deeea9
lavu/bprint: add av_bprint_reset().
2012-05-14 19:11:39 +02:00
b75c67dc01
lavu: add av_bprintf and related.
2012-03-21 13:39:28 +01:00