aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-23 03:06:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-29 22:02:05 +0200
commit642b202567d5c18af65a9cf97a46e2ee60084490 (patch)
tree22a100fc23b68500a6ace8e3d5fac6b3e0ac150d /libavformat/aviobuf.c
parent23da5caf094a7c20dd3cd59ebd2ddd8b0f5950fc (diff)
downloadffmpeg-642b202567d5c18af65a9cf97a46e2ee60084490.tar.gz
avformat/aviobuf: Make ff_read_line_to_bprint() static
It is only used in ff_read_line_to_bprint_overwrite(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index ddfa4ecbf1..66fddf1433 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -794,7 +794,7 @@ int ff_get_chomp_line(AVIOContext *s, char *buf, int maxlen)
return len;
}
-int64_t ff_read_line_to_bprint(AVIOContext *s, AVBPrint *bp)
+static int64_t read_line_to_bprint(AVIOContext *s, AVBPrint *bp)
{
int len, end;
int64_t read = 0;
@@ -830,7 +830,7 @@ int64_t ff_read_line_to_bprint_overwrite(AVIOContext *s, AVBPrint *bp)
int64_t ret;
av_bprint_clear(bp);
- ret = ff_read_line_to_bprint(s, bp);
+ ret = read_line_to_bprint(s, bp);
if (ret < 0)
return ret;