diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2011-10-14 15:17:48 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2011-10-18 18:21:03 +0200 |
commit | 2f3b028c7117e03267ea7f88d0d612e70f1afc06 (patch) | |
tree | e68d8bd0f432654daac82272d1e16d0ab0482e98 /libavcodec/libaacplus.c | |
parent | 284aa07932264853dd645f62db9668774cbef2a1 (diff) | |
download | ffmpeg-2f3b028c7117e03267ea7f88d0d612e70f1afc06.tar.gz |
ffprobe: redesign json_escape_str(), to make use of a global buffer
The new code avoids to call av_malloc/av_free when escaping is needed
(possibly faster), avoids an integer overflow in case of a huge
string, and provides feedback when a string cannot be escaped.
When a string cannot be escaped, a special string is printed instead.
Diffstat (limited to 'libavcodec/libaacplus.c')
0 files changed, 0 insertions, 0 deletions