mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
abb28d41ea
commit
f7ffb10fb7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user