Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-11-19 00:55:06 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-11-19 00:55:06 +0400
commit97808449e617661f0a08677083ef4d6bc692e6d3 (patch)
tree96b56d2a70fa4af072ac9f6d5c5914c1739cdb1e /source/blender/imbuf
parent6fa4beb92f69453474862ba6c06180e6ef546cd2 (diff)
Fix #29321: Video does not display, gets frozen or flickers
Unfortunately, error was caused by own attempt to deal with some kind of broken videos when was investigating crashes in sequencer. Issue discovered that time was related on values stored in timecode index and using them as signed data type later. Trying to use unsigned value here leads to signed/unsigned check failures. Prefer just to pre-process that kind of videos i've been trying to deal with rather than making more global changes during BCON3.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/anim_movie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c
index 3c32332cd8d..db27c1cee63 100644
--- a/source/blender/imbuf/intern/anim_movie.c
+++ b/source/blender/imbuf/intern/anim_movie.c
@@ -895,7 +895,7 @@ static int ffmpeg_seek_by_byte(AVFormatContext *pFormatCtx)
static ImBuf * ffmpeg_fetchibuf(struct anim * anim, int position,
IMB_Timecode_Type tc) {
- unsigned long long pts_to_search = 0;
+ int64_t pts_to_search = 0;
double frame_rate;
double pts_time_base;
long long st_time;