mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-20 14:31:09 +00:00
avformat/apngdec: Use 64bit ret to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d4936d28a1
commit
0e3d6e17de
@ -321,7 +321,7 @@ static int decode_fctl_chunk(AVFormatContext *s, APNGDemuxContext *ctx, AVPacket
|
|||||||
static int apng_read_packet(AVFormatContext *s, AVPacket *pkt)
|
static int apng_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
{
|
{
|
||||||
APNGDemuxContext *ctx = s->priv_data;
|
APNGDemuxContext *ctx = s->priv_data;
|
||||||
int ret;
|
int64_t ret;
|
||||||
int64_t size;
|
int64_t size;
|
||||||
AVIOContext *pb = s->pb;
|
AVIOContext *pb = s->pb;
|
||||||
uint32_t len, tag;
|
uint32_t len, tag;
|
||||||
|
Loading…
Reference in New Issue
Block a user