summaryrefslogtreecommitdiff
path: root/libavutil/bprint.c
Commit message (Collapse)AuthorAge
* avutil/{avstring,bprint}: add XML escaping from ffprobe to avutilStefano Sabatini2021-03-05
| | | | | | | | | | Base escaping only escapes values required for base character data according to part 2.4 of XML, and if additional flags are added single and double quotes can additionally be escaped in order to handle single and double quoted attributes. Co-authored-by: Jan Ekström <jan.ekstrom@24i.com> Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
* Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-11
| | | | | | | | * commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avutil/parsing: add '\r' as whitespaceMuhammad Faiz2016-05-06
| | | | | | | for compatibility with platforms that treat it as newline Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* avutil & avdevice: remove av_bprint_fd_contents()Michael Niedermayer2014-07-15
| | | | | | | | | | | | 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>
* avutil/bprint:ædd io.h, try to fix msvc buildMichael Niedermayer2014-07-09
| | | | | Suggested-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* protect unistd.h with #if HAVE_UNISTD_H in code from recent ↵Michael Niedermayer2014-07-08
| | | | | | | | av_bprint_fd_contents() patches Should fix build failure on MSVC Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/bprint: Add av_bprint_fd_contents()Andrey Utkin2014-07-07
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fix various typosLou Logan2014-06-03
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu/bprint: add append buffer functionLukasz Marek2013-08-30
| | | | | | 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>
* bprint: Include va_copy compatDerek Buitenhuis2013-08-10
| | | | | | Fixes build with MSVC and ICL. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avutil/bprint: add av_vbprintf()Michael Niedermayer2013-08-10
| | | | | Reviewed-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu: add escape APIStefano Sabatini2013-03-07
| | | | | | | | 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.
* lavu/bprint: implement av_bprint_strftime().Nicolas George2012-11-17
|
* lavu/bprint: add av_bprint_get_buffer().Nicolas George2012-11-02
| | | | | It is useful to use bprint to handle a growing buffer used with another API.
* bprint: Remove custom vsnprintfDerek Buitenhuis2012-09-15
| | | | | | | | A proper implementation was introduced in ba537202801d71711f1ef9306a6248dd2d426fa0 for MSVC, and MinGW already has vsnprintf. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* FATE/bprint: Convert a VLA to a normal arrayDerek Buitenhuis2012-09-12
| | | | | | 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>
* bprint: implement vsnprintf for win32.Nicolas George2012-06-14
|
* bprint-test: avoid z modifier, mingw fails with itMichael Niedermayer2012-06-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate-bprint: try to workaround platform specific value.Michael Niedermayer2012-06-08
| | | | | | this should fix some fate failures Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* bprint: add av_bprint_init_for_buffer().Nicolas George2012-06-07
|
* lavu/bprint: add av_bprint_reset().Clément Bœsch2012-05-14
|
* lavu: add av_bprintf and related.Nicolas George2012-03-21