diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-21 08:05:14 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-24 08:00:57 +0100 |
commit | 54127cc427920e48921e05e328d9ce475ae9d38d (patch) | |
tree | 153b1810ad710dde624deca6d6b83e932cfeaa6b /libavfilter/af_agate.c | |
parent | e65a5df4faf60f08b39381651b61ace6998eee3d (diff) | |
download | ffmpeg-54127cc427920e48921e05e328d9ce475ae9d38d.tar.gz |
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 'libavfilter/af_agate.c')
0 files changed, 0 insertions, 0 deletions