mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
raop: check if video_flush callback is defined
This commit is contained in:
@@ -357,8 +357,10 @@ conn_destroy(void *ptr) {
|
||||
/* This is done in case TEARDOWN was not called */
|
||||
raop_rtp_mirror_destroy(conn->raop_rtp_mirror);
|
||||
}
|
||||
|
||||
conn->raop->callbacks.video_flush(conn->raop->callbacks.cls);
|
||||
|
||||
if (conn->raop->callbacks.video_flush) {
|
||||
conn->raop->callbacks.video_flush(conn->raop->callbacks.cls);
|
||||
}
|
||||
|
||||
free(conn->local);
|
||||
free(conn->remote);
|
||||
|
||||
Reference in New Issue
Block a user