|
|
@@ -260,7 +260,7 @@ static int ape_read_header(AVFormatContext * s) |
|
|
ape->totalframes); |
|
|
ape->totalframes); |
|
|
return -1; |
|
|
return -1; |
|
|
} |
|
|
} |
|
|
if (ape->seektablelength && (ape->seektablelength / sizeof(*ape->seektable)) < ape->totalframes) { |
|
|
|
|
|
|
|
|
if (ape->seektablelength / sizeof(*ape->seektable) < ape->totalframes) { |
|
|
av_log(s, AV_LOG_ERROR, |
|
|
av_log(s, AV_LOG_ERROR, |
|
|
"Number of seek entries is less than number of frames: %zu vs. %"PRIu32"\n", |
|
|
"Number of seek entries is less than number of frames: %zu vs. %"PRIu32"\n", |
|
|
ape->seektablelength / sizeof(*ape->seektable), ape->totalframes); |
|
|
ape->seektablelength / sizeof(*ape->seektable), ape->totalframes); |
|
|
|