mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-03 02:20:16 +01:00
wcap-decode: Fix timestamp overflow
This commit is contained in:
parent
08bcf14903
commit
f4b5a4d12e
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ static int read_frame(struct input_state *input, vpx_image_t *img)
|
|||
input->output_msecs = input->wcap->msecs;
|
||||
}
|
||||
|
||||
while (input->output_msecs > input->wcap->msecs)
|
||||
while (input->output_msecs - input->wcap->msecs < INT32_MAX)
|
||||
if (!wcap_decoder_get_frame(input->wcap))
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue