forked from FFmpeg/FFmpeg
avformat/gifdec: -1 -> AV_BPRINT_SIZE_UNLIMITED
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
9cfed6d84a
commit
1dee8bf909
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ static int gif_read_header(AVFormatContext *s)
|
|||
AVBPrint bp;
|
||||
int block_size;
|
||||
|
||||
av_bprint_init(&bp, 0, -1);
|
||||
av_bprint_init(&bp, 0, AV_BPRINT_SIZE_UNLIMITED);
|
||||
while ((block_size = avio_r8(pb)) != 0) {
|
||||
avio_read_to_bprint(pb, &bp, block_size);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue