[FFmpeg-devel] [PATCH 5/6] avformat/aviobuf: INT_MAX -> AV_BPRINT_SIZE_UNLIMITED
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Fri Jun 26 03:47:25 EEST 2020
From: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
libavformat/aviobuf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index a77517d..1e32c0c 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -1191,7 +1191,7 @@ int avio_printf(AVIOContext *s, const char *fmt, ...)
va_list ap;
AVBPrint bp;
- av_bprint_init(&bp, 0, INT_MAX);
+ av_bprint_init(&bp, 0, AV_BPRINT_SIZE_UNLIMITED);
va_start(ap, fmt);
av_vbprintf(&bp, fmt, ap);
va_end(ap);
--
1.8.3.1
More information about the ffmpeg-devel
mailing list