mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Clear img_in pointer after reading it
This commit is contained in:
parent
b5459c1f23
commit
0128ee26e7
|
@ -344,6 +344,7 @@ int main(int argc, char *argv[])
|
|||
PTHREAD_LOCK(&main_thread_mutex);
|
||||
}
|
||||
cur_in_img = img_in[frames_read & 1];
|
||||
img_in[frames_read & 1] = NULL;
|
||||
frames_read++;
|
||||
|
||||
if (in_args.retval == EXIT_FAILURE) {
|
||||
|
|
Loading…
Reference in a new issue