Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-06-10 11:02:57 +0300
committerJun Zhao <jun.zhao@intel.com>2018-06-17 04:59:33 +0300
commitf7ffb10fb733ac8c7484eca67dc531fdf5b9a309 (patch)
tree5ef1fb52b0e2865fc2b59a80fe6d8557e5a8fb99 /libavformat
parentabb28d41ea8dd747eb86121781615d0722f386b3 (diff)
lavf/tedcaptionsdec: Replace the number by macro for bprint init
Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/tedcaptionsdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tedcaptionsdec.c b/libavformat/tedcaptionsdec.c
index 774d4993b5..cd6ab0c24b 100644
--- a/libavformat/tedcaptionsdec.c
+++ b/libavformat/tedcaptionsdec.c
@@ -94,7 +94,7 @@ static int parse_string(AVIOContext *pb, int *cur_byte, AVBPrint *bp, int full)
{
int ret;
- av_bprint_init(bp, 0, full ? -1 : 1);
+ av_bprint_init(bp, 0, full ? AV_BPRINT_SIZE_UNLIMITED : AV_BPRINT_SIZE_AUTOMATIC);
ret = expect_byte(pb, cur_byte, '"');
if (ret < 0)
goto fail;