Commit 9d92403a authored by Raphaël Zumer's avatar Raphaël Zumer Committed by Vittorio Giovara

avformat/ivfdec: Change the length field to 32 bits

Signed-off-by: 's avatarRaphaël Zumer <rzumer@tebako.net>
parent d3807467
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment