diff --git a/shared/NDIReceiver.hpp b/shared/NDIReceiver.hpp index 638fcb7..848f247 100644 --- a/shared/NDIReceiver.hpp +++ b/shared/NDIReceiver.hpp @@ -172,6 +172,10 @@ public: } if (type == NDIlib_frame_type_audio) { + if (audio_frame.FourCC != NDIlib_FourCC_audio_type_FLTP) { + NDIlib_recv_free_audio_v3(recv_, &audio_frame); + return FrameKind::None; // compressed or unknown format — skip + } audio_info.sample_rate = audio_frame.sample_rate; audio_info.channels = audio_frame.no_channels; audio_info.samples = audio_frame.no_samples;