close socket if payload has zero length (unsupported h265)

This commit is contained in:
F. Duncanh
2024-09-20 02:32:00 -04:00
parent 0473ccdba0
commit 8d7713b59c
4 changed files with 58 additions and 26 deletions

View File

@@ -2229,6 +2229,7 @@ int main (int argc, char *argv[]) {
if (use_audio) audio_renderer_stop();
if (use_video && close_window) {
video_renderer_destroy();
raop_remove_known_connections(raop);
video_renderer_init(render_logger, server_name.c_str(), videoflip, video_parser.c_str(),
video_decoder.c_str(), video_converter.c_str(), videosink.c_str(),
videosink_options.c_str(), fullscreen, video_sync, h265_support);