mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fixed a bug in the ffmpeg movie decoder.
This commit is contained in:
parent
f3ec66d694
commit
1d16b20393
@ -282,7 +282,7 @@ fetch_time(double time) {
|
||||
// Time is in the present: already have the frame.
|
||||
} else if (time < _next_start + _min_fseek) {
|
||||
// Time is in the near future.
|
||||
while (_packet_time <= time) {
|
||||
while ((_packet_time <= time) && (_packet->data)) {
|
||||
fetch_frame();
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user