summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-05-26 01:38:03 +0200
committerMartin Storsjö <martin@martin.st>2013-03-07 08:50:29 +0200
commit70762508ec5919474edb92a5b1f266fd06640f9c (patch)
treef28641b753c987017e751d583cc3528a6793240a /libavcodec/imgconvert.c
parentd65522e826fccd97c40d7cc4a170e027910c60b4 (diff)
lavc: Prettify printing of codec tags containing non alphanumeric characters
Make av_get_codec_tag_string() show codec tag string characters in a more intelligible ways. For example the ascii char "@" is used as a number, so should be displayed like "[64]" rather than as a printable character. Apart alphanumeric chars, only the characters ' ' and '.' are used literally in codec tags, all the other characters represent numbers. This also avoids relying on locale-dependent character class functions. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/imgconvert.c')
0 files changed, 0 insertions, 0 deletions