X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fwebvttdec.c;h=cf060bd01180066863cad582eaa4eec8d19d4943;hb=ef6a9e5e311f09fa8032974fa4d0c1e166a959bb;hp=8d2fdfed37dc83036d5318011a1579819f62fd88;hpb=985c0dac674846721ec8ff23344c16ac7d1c9a1e;p=ffmpeg diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c index 8d2fdfed37d..cf060bd0118 100644 --- a/libavformat/webvttdec.c +++ b/libavformat/webvttdec.c @@ -78,7 +78,7 @@ static int webvtt_read_header(AVFormatContext *s) int64_t pos; AVPacket *sub; const char *p, *identifier, *settings; - int identifier_len, settings_len; + size_t identifier_len, settings_len; int64_t ts_start, ts_end; ff_subtitles_read_chunk(s->pb, &cue);