Skip to content
Snippets Groups Projects
Commit f7ffb10f authored by Jun Zhao's avatar Jun Zhao Committed by Jun Zhao
Browse files

lavf/tedcaptionsdec: Replace the number by macro for bprint init


Replace the number by macro for bprint init.

Signed-off-by: default avatarJun Zhao <mypopydev@gmail.com>
parent abb28d41
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ static int parse_string(AVIOContext *pb, int *cur_byte, AVBPrint *bp, int full) ...@@ -94,7 +94,7 @@ static int parse_string(AVIOContext *pb, int *cur_byte, AVBPrint *bp, int full)
{ {
int ret; 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, '"'); ret = expect_byte(pb, cur_byte, '"');
if (ret < 0) if (ret < 0)
goto fail; goto fail;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment