mirror of https://github.com/Genymobile/scrcpy
Destroy condition variable on frames destruction
A condition variable was init for the "struct frames", but was never destroyed.
This commit is contained in:
parent
1a71c4ab1d
commit
2b44052f80
|
@ -37,6 +37,7 @@ error_0:
|
|||
|
||||
void frames_destroy(struct frames *frames) {
|
||||
SDL_DestroyMutex(frames->mutex);
|
||||
SDL_DestroyCond(frames->rendering_frame_consumed_cond);
|
||||
av_frame_free(&frames->rendering_frame);
|
||||
av_frame_free(&frames->decoding_frame);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue