You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/matroskadec: Use size_t for the variable holding a strlen() value.
Should make no difference but is more correct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1186,7 +1186,7 @@ static int matroska_probe(AVProbeData *p)
|
||||
* availability of that array of characters inside the header.
|
||||
* Not fully fool-proof, but good enough. */
|
||||
for (i = 0; i < FF_ARRAY_ELEMS(matroska_doctypes); i++) {
|
||||
int probelen = strlen(matroska_doctypes[i]);
|
||||
size_t probelen = strlen(matroska_doctypes[i]);
|
||||
if (total < probelen)
|
||||
continue;
|
||||
for (n = 4 + size; n <= 4 + size + total - probelen; n++)
|
||||
|
Reference in New Issue
Block a user