]> git.sesse.net Git - ffmpeg/commit
avutil/{avstring,bprint}: add XML escaping from ffprobe to avutil
authorStefano Sabatini <stefasab@gmail.com>
Mon, 16 Nov 2020 07:38:39 +0000 (09:38 +0200)
committerJan Ekström <jeebjp@gmail.com>
Fri, 5 Mar 2021 17:45:00 +0000 (19:45 +0200)
commit0f6bf94eb71c2d5e996c89c290f1a53660c46c2e
tree6786c1885eba8746deceeac4a6ff1816072b735e
parenta272f382d3eb143e9da99537aec25dbbe5778614
avutil/{avstring,bprint}: add XML escaping from ffprobe to avutil

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>
libavutil/avstring.h
libavutil/bprint.c
libavutil/version.h
tools/ffescape.c