1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avformat/ivfdec: Change the length field to 32 bits

Signed-off-by: Raphaël Zumer <rzumer@tebako.net>
This commit is contained in:
Raphaël Zumer 2019-10-01 13:40:54 -04:00 committed by Vittorio Giovara
parent d3807467b2
commit 9d92403add

View File

@ -53,7 +53,8 @@ static int read_header(AVFormatContext *s)
st->codecpar->height = avio_rl16(s->pb);
time_base.den = avio_rl32(s->pb);
time_base.num = avio_rl32(s->pb);
st->duration = avio_rl64(s->pb);
st->duration = avio_rl32(s->pb);
avio_skip(s->pb, 4); // unused
st->need_parsing = AVSTREAM_PARSE_HEADERS;