aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/lrcenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-01 16:30:17 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-02 17:16:34 +0200
commit2b2e9afdd2b435fd5f6f1f0216c89a1f71aeb1be (patch)
tree1050d8a4e4a899175cb10af8220d3ce8aef9857c /libavformat/lrcenc.c
parent8766361fc16b6d25ee8be880bf55c9761490cb99 (diff)
downloadffmpeg-2b2e9afdd2b435fd5f6f1f0216c89a1f71aeb1be.tar.gz
avformat/(lrc|scc)enc: Use avio_w8() to write a single char
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/lrcenc.c')
-rw-r--r--libavformat/lrcenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/lrcenc.c b/libavformat/lrcenc.c
index 5d107cd49a..0de0bb18f4 100644
--- a/libavformat/lrcenc.c
+++ b/libavformat/lrcenc.c
@@ -79,7 +79,7 @@ static int lrc_write_header(AVFormatContext *s)
avio_printf(s->pb, "[%s:%s]\n",
metadata_item->key, metadata_item->value);
}
- avio_printf(s->pb, "\n");
+ avio_w8(s->pb, '\n');
return 0;
}