Missed this hunk in first commit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -150,7 +150,8 @@ static int apng_read_header(AVFormatContext *s) |
150 | 150 |
AVIOContext *pb = s->pb; |
151 | 151 |
uint32_t len, tag; |
152 | 152 |
AVStream *st; |
153 |
- int ret = AVERROR_INVALIDDATA, acTL_found = 0; |
|
153 |
+ int acTL_found = 0; |
|
154 |
+ int64_t ret = AVERROR_INVALIDDATA; |
|
154 | 155 |
|
155 | 156 |
/* verify PNGSIG */ |
156 | 157 |
if (avio_rb64(pb) != PNGSIG) |