From cc95481e0e4ab4934834566bb04f857fa644cbdf Mon Sep 17 00:00:00 2001 From: beveloper Date: Sat, 31 Jan 2004 14:51:26 +0000 Subject: [PATCH] Lets do the TIME WARP again git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6444 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/media/plugins/avi_reader/avi_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/media/plugins/avi_reader/avi_reader.cpp b/src/add-ons/media/plugins/avi_reader/avi_reader.cpp index 125cd85b3d..a915c0b302 100644 --- a/src/add-ons/media/plugins/avi_reader/avi_reader.cpp +++ b/src/add-ons/media/plugins/avi_reader/avi_reader.cpp @@ -292,7 +292,7 @@ aviReader::GetNextChunk(void *_cookie, cookie->byte_pos += size; } else { - mediaHeader->start_time = cookie->frame_pos * cookie->usec_per_frame; + mediaHeader->start_time = cookie->frame_pos * (int64)cookie->usec_per_frame; // 32 bit would wrap around at 71.5 minutes mediaHeader->type = B_MEDIA_ENCODED_VIDEO; mediaHeader->u.encoded_video.field_flags = keyframe ? B_MEDIA_KEY_FRAME : 0; mediaHeader->u.encoded_video.first_active_line = 0;