forked from bartvdbraak/blender
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.
This commit is contained in:
parent
6fa4beb92f
commit
97808449e6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user