diff options
Diffstat (limited to 'libavformat/dhav.c')
-rw-r--r-- | libavformat/dhav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dhav.c b/libavformat/dhav.c index 9d26efe8fc..4e720f2a26 100644 --- a/libavformat/dhav.c +++ b/libavformat/dhav.c @@ -242,7 +242,7 @@ static int64_t get_duration(AVFormatContext *s) avio_seek(s->pb, avio_size(s->pb) - 8, SEEK_SET); while (avio_tell(s->pb) > 12 && max_interations--) { if (avio_rl32(s->pb) == MKTAG('d','h','a','v')) { - int seek_back = avio_rl32(s->pb); + int64_t seek_back = avio_rl32(s->pb); avio_seek(s->pb, -seek_back, SEEK_CUR); read_chunk(s); |