summaryrefslogtreecommitdiff
path: root/libavutil/frame.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-21 08:05:14 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-24 08:00:57 +0100
commit54127cc427920e48921e05e328d9ce475ae9d38d (patch)
tree153b1810ad710dde624deca6d6b83e932cfeaa6b /libavutil/frame.c
parente65a5df4faf60f08b39381651b61ace6998eee3d (diff)
avcodec/avcodec: Use AVBPrint in avcodec_string()
It automatically records the current length of the string, whereas the current code contains lots of instances of snprintf(buf + strlen(buf), buf_size - strlen(buf), ...). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/frame.c')
0 files changed, 0 insertions, 0 deletions